• 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
    System.Object
    System.Exception
    System.SystemException
    System.IO.IOException
    CorruptIndexException
    IndexFormatTooOldException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.ToString()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.Message
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public class IndexFormatTooOldException : CorruptIndexException, ISerializable

    Constructors

    | Improve this Doc View Source

    IndexFormatTooOldException(DataInput, Int32, Int32, Int32)

    Creates an IndexFormatTooOldException.

    This is a Lucene.NET INTERNAL API, use at your own risk
    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

    | Improve this Doc View Source

    IndexFormatTooOldException(DataInput, String)

    Creates an IndexFormatTooOldException.

    This is a Lucene.NET INTERNAL API, use at your own risk
    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

    | Improve this Doc View Source

    IndexFormatTooOldException(String, Int32, Int32, Int32)

    Creates an IndexFormatTooOldException.

    This is a Lucene.NET INTERNAL API, use at your own risk
    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

    | Improve this Doc View Source

    IndexFormatTooOldException(String, String)

    Creates an IndexFormatTooOldException.

    This is a Lucene.NET INTERNAL API, use at your own risk
    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

    Implements

    System.Runtime.Serialization.ISerializable

    Extension Methods

    ExceptionExtensions.GetSuppressed(Exception)
    ExceptionExtensions.GetSuppressedAsList(Exception)
    ExceptionExtensions.AddSuppressed(Exception, Exception)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)