Package org.apache.lucene.index
Class IndexFormatTooNewException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.lucene.index.CorruptIndexException
-
- org.apache.lucene.index.IndexFormatTooNewException
-
- All Implemented Interfaces:
Serializable
public class IndexFormatTooNewException extends CorruptIndexException
This exception is thrown when Lucene detects an index that is newer than this Lucene version.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexFormatTooNewException(String resourceDesc, int version, int minVersion, int maxVersion)
Creates anIndexFormatTooNewException
IndexFormatTooNewException(DataInput in, int version, int minVersion, int maxVersion)
Creates anIndexFormatTooNewException
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IndexFormatTooNewException
public IndexFormatTooNewException(String resourceDesc, int version, int minVersion, int maxVersion)
Creates anIndexFormatTooNewException
- Parameters:
resourceDesc
- describes the file that was too oldversion
- the version of the file that was too oldminVersion
- the minimum version acceptedmaxVersion
- the maxium version accepted
-
IndexFormatTooNewException
public IndexFormatTooNewException(DataInput in, int version, int minVersion, int maxVersion)
Creates anIndexFormatTooNewException
- Parameters:
in
- the open file that's too oldversion
- the version of the file that was too oldminVersion
- the minimum version acceptedmaxVersion
- the maxium version accepted
-
-