Class 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:
  • Constructor Details

    • IndexFormatTooNewException

      public IndexFormatTooNewException(String resourceDesc, int version, int minVersion, int maxVersion)
      Creates an IndexFormatTooNewException
      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
    • IndexFormatTooNewException

      public IndexFormatTooNewException(DataInput in, int version, int minVersion, int maxVersion)
      Creates an IndexFormatTooNewException
      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