Class IndexFormatTooOldException
This exception is thrown when Lucene detects an index that is too old for this Lucene version
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
[Serializable]
public class IndexFormatTooOldException : CorruptIndexException, ISerializable
Constructors
| Improve this Doc View SourceIndexFormatTooOldException(DataInput, Int32, Int32, Int32)
Creates an IndexFormatTooOldException.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public IndexFormatTooOldException(DataInput input, int version, int minVersion, int maxVersion)
Parameters
Type | Name | Description |
---|---|---|
DataInput | input | the open file that's too old |
System.Int32 | version | the version of the file that was too old |
System.Int32 | minVersion | the minimum version accepted |
System.Int32 | maxVersion | the maxium version accepted |
IndexFormatTooOldException(DataInput, String)
Creates an IndexFormatTooOldException.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public IndexFormatTooOldException(DataInput input, string version)
Parameters
Type | Name | Description |
---|---|---|
DataInput | input | the open file that's too old |
System.String | version | the version of the file that was too old |
IndexFormatTooOldException(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
protected IndexFormatTooOldException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
IndexFormatTooOldException(String, Int32, Int32, Int32)
Creates an IndexFormatTooOldException.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public IndexFormatTooOldException(string resourceDesc, int version, int minVersion, int maxVersion)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceDesc | describes the file that was too old |
System.Int32 | version | the version of the file that was too old |
System.Int32 | minVersion | the minimum version accepted |
System.Int32 | maxVersion | the maxium version accepted |
IndexFormatTooOldException(String, String)
Creates an IndexFormatTooOldException.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public IndexFormatTooOldException(string resourceDesc, string version)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceDesc | describes the file that was too old |
System.String | version | the version of the file that was too old |