Package org.apache.lucene.index
Class MergePolicy.MergeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.lucene.index.MergePolicy.MergeException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MergePolicy
public static class MergePolicy.MergeException extends RuntimeException
Exception thrown if there are any problems while executing a merge.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MergeException(String message, Directory dir)
Create aMergeException
.MergeException(Throwable exc, Directory dir)
Create aMergeException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Directory
getDirectory()
Returns theDirectory
of the index that hit the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-