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

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
public class LockObtainFailedException : IOException
Visual Basic
<SerializableAttribute> _
Public Class LockObtainFailedException _
	Inherits IOException
Visual C++
[SerializableAttribute]
public ref class LockObtainFailedException : public IOException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..SystemException
      System.IO..::..IOException
        Lucene.Net.Store..::..LockObtainFailedException

See Also