Class IndexFormatTooOldException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IndexFormatTooOldException
    extends CorruptIndexException
    This exception is thrown when Lucene detects an index that is too old for this Lucene version
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IndexFormatTooOldException

        public IndexFormatTooOldException​(java.lang.String resourceDesc,
                                          java.lang.String version)
        Creates an IndexFormatTooOldException.
        Parameters:
        resourceDesc - describes the file that was too old
        version - the version of the file that was too old
      • IndexFormatTooOldException

        public IndexFormatTooOldException​(DataInput in,
                                          java.lang.String version)
        Creates an IndexFormatTooOldException.
        Parameters:
        in - the open file that's too old
        version - the version of the file that was too old
      • IndexFormatTooOldException

        public IndexFormatTooOldException​(java.lang.String resourceDesc,
                                          int version,
                                          int minVersion,
                                          int maxVersion)
        Creates an IndexFormatTooOldException.
        Parameters:
        resourceDesc - describes the file that was too old
        version - the version of the file that was too old
        minVersion - the minimum version accepted
        maxVersion - the maxium version accepted
      • IndexFormatTooOldException

        public IndexFormatTooOldException​(DataInput in,
                                          int version,
                                          int minVersion,
                                          int maxVersion)
        Creates an IndexFormatTooOldException.
        Parameters:
        in - the open file that's too old
        version - the version of the file that was too old
        minVersion - the minimum version accepted
        maxVersion - the maxium version accepted