Lucene++ - a full-featured, c++ search engine
API Documentation
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 () |
| virtual const char * | what () const throw () |
Protected Attributes | |
| ExceptionType | type |
| String | error |
| std::string | _what |
Lucene exception container.
| Lucene::LuceneException::LuceneException | ( | const String & | error = EmptyString, | |||
| LuceneException::ExceptionType | type = Null ) | |||||
| throw | ( | ) | ||||
| Lucene::LuceneException::~LuceneException | ( | ) | ||||
| throw | ( | ) | ||||
| String Lucene::LuceneException::getError | ( | ) | const |
References getError().
Referenced by getError().
| ExceptionType Lucene::LuceneException::getType | ( | ) | const |
| void Lucene::LuceneException::throwException | ( | ) |
References throwException().
Referenced by throwException().
|
virtual | ||||||||||||
References LuceneException(), and what().
Referenced by what().
|
protected |
|
protected |
|
protected |