IndexFormatTooOldException

class IndexFormatTooOldException : IOException

This exception is thrown when Lucene detects an index that is too old for this Lucene version

Constructors

Link copied to clipboard
constructor(resourceDescription: String, reason: String)

Creates an IndexFormatTooOldException.

constructor(in: DataInput, reason: String)

Creates an IndexFormatTooOldException.

constructor(resourceDescription: String, version: Int, minVersion: Int, maxVersion: Int)

Creates an IndexFormatTooOldException.

constructor(in: DataInput, version: Int, minVersion: Int, maxVersion: Int)

Creates an IndexFormatTooOldException.

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

Returns the maximum version accepted. This method will return null if an alternative .getReason is provided.

Link copied to clipboard
expect open val message: String?
Link copied to clipboard

Returns the minimum version accepted This method will return null if an alternative .getReason is provided.

Link copied to clipboard

Returns an optional reason for this exception if the version information was not available. Otherwise null

Link copied to clipboard

Returns a description of the file that was too old

Link copied to clipboard
val version: Int?

Returns the version of the file that was too old. This method will return null if an alternative .getReason is provided.

Functions

Link copied to clipboard