Package org.apache.lucene.index
Class CorruptIndexException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.lucene.index.CorruptIndexException
- All Implemented Interfaces:
Serializable
This exception is thrown when Lucene detects an inconsistency in the index.
- See Also:
-
Constructor Summary
ConstructorDescriptionCorruptIndexException
(String message, String resourceDescription) Create exception with a message onlyCorruptIndexException
(String message, String resourceDescription, Throwable cause) Create exception with message and root cause.CorruptIndexException
(String message, DataInput input) Create exception with a message onlyCorruptIndexException
(String message, DataInput input, Throwable cause) Create exception with message and root cause.CorruptIndexException
(String message, DataOutput output) Create exception with a message onlyCorruptIndexException
(String message, DataOutput output, Throwable cause) Create exception with message and root cause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the original exception message without the corrupted file description.Returns a description of the file that was corruptedMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CorruptIndexException
Create exception with a message only -
CorruptIndexException
Create exception with a message only -
CorruptIndexException
Create exception with message and root cause. -
CorruptIndexException
Create exception with message and root cause. -
CorruptIndexException
Create exception with a message only -
CorruptIndexException
Create exception with message and root cause.
-
-
Method Details
-
getResourceDescription
Returns a description of the file that was corrupted -
getOriginalMessage
Returns the original exception message without the corrupted file description.
-