org.apache.lucene.store
Class LockObtainFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.lucene.store.LockObtainFailedException
All Implemented Interfaces:
Serializable

public class LockObtainFailedException
extends IOException

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.

See Also:
Lock.obtain(long), Serialized Form

Constructor Summary
LockObtainFailedException(String message)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockObtainFailedException

public LockObtainFailedException(String message)