Lucene++ - a full-featured, c++ search engine
API Documentation


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Protected Attributes
Lucene::LuceneException Class Reference

Lucene exception container. More...

#include <LuceneException.h>

Public Types

enum  ExceptionType {
  Null, AlreadyClosed, Compression, CorruptIndex,
  FieldReader, FileNotFound, IllegalArgument, IllegalState,
  IndexOutOfBounds, IO, LockObtainFailed, LockReleaseFailed,
  Lookahead, MergeAborted, Merge, NoSuchDirectory,
  NullPointer, NumberFormat, OutOfMemory, Parse,
  QueryParser, Runtime, StaleReader, StopFillCache,
  Temporary, TimeExceeded, TooManyClauses, UnsupportedOperation
}

Public Member Functions

 LuceneException (const String &error=EmptyString, LuceneException::ExceptionType type=Null) throw ()
 ~LuceneException () throw ()
ExceptionType getType () const
String getError () const
bool isNull () const
void throwException ()

Protected Attributes

ExceptionType type
String error

Detailed Description

Lucene exception container.

Member Enumeration Documentation

Enumerator:
Null 
AlreadyClosed 
Compression 
CorruptIndex 
FieldReader 
FileNotFound 
IllegalArgument 
IllegalState 
IndexOutOfBounds 
IO 
LockObtainFailed 
LockReleaseFailed 
Lookahead 
MergeAborted 
Merge 
NoSuchDirectory 
NullPointer 
NumberFormat 
OutOfMemory 
Parse 
QueryParser 
Runtime 
StaleReader 
StopFillCache 
Temporary 
TimeExceeded 
TooManyClauses 
UnsupportedOperation 

Constructor & Destructor Documentation

Lucene::LuceneException::LuceneException ( const String &  error = EmptyString,
LuceneException::ExceptionType  type = Null 
) throw ()
Lucene::LuceneException::~LuceneException ( ) throw ()

Member Function Documentation

String Lucene::LuceneException::getError ( ) const
ExceptionType Lucene::LuceneException::getType ( ) const
bool Lucene::LuceneException::isNull ( ) const
void Lucene::LuceneException::throwException ( )

Field Documentation

String Lucene::LuceneException::error
protected
ExceptionType Lucene::LuceneException::type
protected

The documentation for this class was generated from the following file:

clucene.sourceforge.net