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
System.Object
System.Exception
System.SystemException
System.IO.IOException
LockObtainFailedException
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.Store
Assembly: Lucene.Net.dll
Syntax
[Serializable]
public class LockObtainFailedException : IOException, ISerializable
Constructors
| Improve this Doc View SourceLockObtainFailedException(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
protected LockObtainFailedException(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. |
LockObtainFailedException(String)
Declaration
public LockObtainFailedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
LockObtainFailedException(String, Exception)
Declaration
public LockObtainFailedException(string message, Exception ex)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | ex |
Implements
System.Runtime.Serialization.ISerializable