7#ifndef LUCENEEXCEPTION_H
8#define LUCENEEXCEPTION_H
59 String getError() const;
61 void throwException();
63 virtual const
char* what() const throw();
Definition: LuceneException.h:67
ExceptionTemplate(const String &error=EmptyString, LuceneException::ExceptionType type=Type)
Definition: LuceneException.h:69
Lucene exception container.
Definition: LuceneException.h:15
LuceneException(const String &error=EmptyString, LuceneException::ExceptionType type=Null)
ExceptionType
Definition: LuceneException.h:17
@ StopFillCache
Definition: LuceneException.h:41
@ FileNotFound
Definition: LuceneException.h:23
@ IndexOutOfBounds
Definition: LuceneException.h:26
@ NullPointer
Definition: LuceneException.h:34
@ IllegalArgument
Definition: LuceneException.h:24
@ LockObtainFailed
Definition: LuceneException.h:28
@ OutOfMemory
Definition: LuceneException.h:36
@ FieldReader
Definition: LuceneException.h:22
@ Merge
Definition: LuceneException.h:32
@ NumberFormat
Definition: LuceneException.h:35
@ QueryParser
Definition: LuceneException.h:38
@ AlreadyClosed
Definition: LuceneException.h:19
@ StaleReader
Definition: LuceneException.h:40
@ Compression
Definition: LuceneException.h:20
@ IO
Definition: LuceneException.h:27
@ MergeAborted
Definition: LuceneException.h:31
@ Parse
Definition: LuceneException.h:37
@ TooManyClauses
Definition: LuceneException.h:44
@ TimeExceeded
Definition: LuceneException.h:43
@ CorruptIndex
Definition: LuceneException.h:21
@ Runtime
Definition: LuceneException.h:39
@ NoSuchDirectory
Definition: LuceneException.h:33
@ Temporary
Definition: LuceneException.h:42
@ Null
Definition: LuceneException.h:18
@ Lookahead
Definition: LuceneException.h:30
@ IllegalState
Definition: LuceneException.h:25
@ LockReleaseFailed
Definition: LuceneException.h:29
Definition: AbstractAllTermDocs.h:12
ExceptionTemplate< FileNotFoundException, LuceneException::NoSuchDirectory > NoSuchDirectoryException
Definition: LuceneException.h:95
ExceptionTemplate< RuntimeException, LuceneException::StopFillCache > StopFillCacheException
Definition: LuceneException.h:82
ExceptionTemplate< RuntimeException, LuceneException::Merge > MergeException
Definition: LuceneException.h:81
ExceptionTemplate< IOException, LuceneException::LockReleaseFailed > LockReleaseFailedException
Definition: LuceneException.h:92
ExceptionTemplate< LuceneException, LuceneException::OutOfMemory > OutOfMemoryError
Definition: LuceneException.h:74
ExceptionTemplate< RuntimeException, LuceneException::TimeExceeded > TimeExceededException
Definition: LuceneException.h:83
ExceptionTemplate< LuceneException, LuceneException::Temporary > TemporaryException
Definition: LuceneException.h:75
ExceptionTemplate< RuntimeException, LuceneException::IllegalState > IllegalStateException
Definition: LuceneException.h:76
ExceptionTemplate< IllegalArgumentException, LuceneException::NumberFormat > NumberFormatException
Definition: LuceneException.h:86
ExceptionTemplate< IOException, LuceneException::MergeAborted > MergeAbortedException
Definition: LuceneException.h:93
ExceptionTemplate< LuceneException, LuceneException::Compression > CompressionException
Definition: LuceneException.h:99
ExceptionTemplate< IOException, LuceneException::CorruptIndex > CorruptIndexException
Definition: LuceneException.h:89
ExceptionTemplate< RuntimeException, LuceneException::TooManyClauses > TooManyClausesException
Definition: LuceneException.h:84
ExceptionTemplate< LuceneException, LuceneException::Lookahead > LookaheadSuccess
Definition: LuceneException.h:96
ExceptionTemplate< RuntimeException, LuceneException::UnsupportedOperation > UnsupportedOperationException
Definition: LuceneException.h:85
ExceptionTemplate< LuceneException, LuceneException::Runtime > RuntimeException
Definition: LuceneException.h:73
ExceptionTemplate< IllegalStateException, LuceneException::AlreadyClosed > AlreadyClosedException
Definition: LuceneException.h:87
ExceptionTemplate< IOException, LuceneException::FileNotFound > FileNotFoundException
Definition: LuceneException.h:90
ExceptionTemplate< RuntimeException, LuceneException::NullPointer > NullPointerException
Definition: LuceneException.h:79
ExceptionTemplate< IOException, LuceneException::StaleReader > StaleReaderException
Definition: LuceneException.h:94
ExceptionTemplate< LuceneException, LuceneException::Parse > ParseException
Definition: LuceneException.h:97
ExceptionTemplate< LuceneException, LuceneException::IO > IOException
Definition: LuceneException.h:88
ExceptionTemplate< LuceneException, LuceneException::QueryParser > QueryParserError
Definition: LuceneException.h:98
ExceptionTemplate< IOException, LuceneException::LockObtainFailed > LockObtainFailedException
Definition: LuceneException.h:91
ExceptionTemplate< RuntimeException, LuceneException::IllegalArgument > IllegalArgumentException
Definition: LuceneException.h:77
ExceptionTemplate< RuntimeException, LuceneException::IndexOutOfBounds > IndexOutOfBoundsException
Definition: LuceneException.h:78
ExceptionTemplate< RuntimeException, LuceneException::FieldReader > FieldReaderException
Definition: LuceneException.h:80