|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException org.apache.lucene.index.CorruptIndexException org.apache.lucene.index.IndexFormatTooOldException
public class IndexFormatTooOldException
This exception is thrown when Lucene detects an index that is too old for this Lucene version
Constructor Summary | |
---|---|
IndexFormatTooOldException(DataInput in,
int version,
int minVersion,
int maxVersion)
Creates an IndexFormatTooOldException . |
|
IndexFormatTooOldException(DataInput in,
String version)
Creates an IndexFormatTooOldException . |
|
IndexFormatTooOldException(String resourceDesc,
int version,
int minVersion,
int maxVersion)
Creates an IndexFormatTooOldException . |
|
IndexFormatTooOldException(String resourceDesc,
String version)
Creates an IndexFormatTooOldException . |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexFormatTooOldException(String resourceDesc, String version)
IndexFormatTooOldException
.
resourceDesc
- describes the file that was too oldversion
- the version of the file that was too oldpublic IndexFormatTooOldException(DataInput in, String version)
IndexFormatTooOldException
.
in
- the open file that's too oldversion
- the version of the file that was too oldpublic IndexFormatTooOldException(String resourceDesc, int version, int minVersion, int maxVersion)
IndexFormatTooOldException
.
resourceDesc
- describes the file that was too oldversion
- the version of the file that was too oldminVersion
- the minimum version acceptedmaxVersion
- the maxium version acceptedpublic IndexFormatTooOldException(DataInput in, int version, int minVersion, int maxVersion)
IndexFormatTooOldException
.
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |