• API

    Show / Hide Table of Contents

    Class MergePolicy.MergeException

    Exception thrown if there are any problems while executing a merge.

    Inheritance
    System.Object
    System.Exception
    MergePolicy.MergeException
    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 MergeException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    MergeException(Exception, Directory)

    Create a MergePolicy.MergeException.

    Declaration
    public MergeException(Exception exc, Directory dir)
    Parameters
    Type Name Description
    System.Exception exc
    Directory dir
    | Improve this Doc View Source

    MergeException(String, Directory)

    Create a MergePolicy.MergeException.

    Declaration
    public MergeException(string message, Directory dir)
    Parameters
    Type Name Description
    System.String message
    Directory dir

    Properties

    | Improve this Doc View Source

    Directory

    Returns the Directory of the index that hit the exception.

    Declaration
    public virtual Directory Directory { get; }
    Property Value
    Type Description
    Directory

    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)