Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class IndexFormatTooOldException

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

    Inheritance
    object
    Exception
    SystemException
    IOException
    CorruptIndexException
    IndexFormatTooOldException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    [Serializable]
    public class IndexFormatTooOldException : CorruptIndexException, ISerializable

    Constructors

    IndexFormatTooOldException(DataInput, int, int, int)

    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

    int version

    the version of the file that was too old

    int minVersion

    the minimum version accepted

    int 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

    string version

    the version of the file that was too old

    IndexFormatTooOldException(string, int, int, int)

    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
    string resourceDesc

    describes the file that was too old

    int version

    the version of the file that was too old

    int minVersion

    the minimum version accepted

    int 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
    string resourceDesc

    describes the file that was too old

    string version

    the version of the file that was too old

    Implements

    ISerializable

    Extension Methods

    ExceptionExtensions.AddSuppressed(Exception, Exception)
    ExceptionExtensions.GetSuppressed(Exception)
    ExceptionExtensions.GetSuppressedAsList(Exception)
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.