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.
Implements
Inherited Members
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
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 |