Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class LockObtainFailedException

    This exception is thrown when the write.lock could not be acquired. This happens when a writer tries to open an index that another writer already has open.

    Inheritance
    object
    Exception
    SystemException
    IOException
    LockObtainFailedException
    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.Store
    Assembly: Lucene.Net.dll
    Syntax
    [Serializable]
    public class LockObtainFailedException : IOException, ISerializable

    Constructors

    LockObtainFailedException(string)

    This exception is thrown when the write.lock could not be acquired. This happens when a writer tries to open an index that another writer already has open.

    Declaration
    public LockObtainFailedException(string message)
    Parameters
    Type Name Description
    string message
    See Also
    Obtain(long)

    LockObtainFailedException(string, Exception)

    This exception is thrown when the write.lock could not be acquired. This happens when a writer tries to open an index that another writer already has open.

    Declaration
    public LockObtainFailedException(string message, Exception ex)
    Parameters
    Type Name Description
    string message
    Exception ex
    See Also
    Obtain(long)

    Implements

    ISerializable

    Extension Methods

    ExceptionExtensions.AddSuppressed(Exception, Exception)
    ExceptionExtensions.GetSuppressed(Exception)
    ExceptionExtensions.GetSuppressedAsList(Exception)

    See Also

    Obtain(long)
    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.