Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MergePolicy.MergeAbortedException

    Thrown when a merge was explicity aborted because Dispose(Boolean) was called with false. Normally this exception is privately caught and suppresed by IndexWriter.

    Inheritance
    System.Object
    System.Exception
    System.SystemException
    System.IO.IOException
    MergePolicy.MergeAbortedException
    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
    [Serializable]
    public class MergeAbortedException : IOException, ISerializable

    Constructors

    | Improve this Doc View Source

    MergeAbortedException()

    Create a MergePolicy.MergeAbortedException.

    Declaration
    public MergeAbortedException()
    | Improve this Doc View Source

    MergeAbortedException(SerializationInfo, StreamingContext)

    Initializes a new instance of this class with serialized data.

    Declaration
    protected MergeAbortedException(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.

    | Improve this Doc View Source

    MergeAbortedException(String)

    Create a MergePolicy.MergeAbortedException with a specified message.

    Declaration
    public MergeAbortedException(string message)
    Parameters
    Type Name Description
    System.String message

    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 © 2022 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.