ccs.beetree
Class DeadlockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by ccs.beetree.DeadlockException
All Implemented Interfaces:
java.io.Serializable

public class DeadlockException
extends java.io.IOException

Thrown by a BeeTree operation to indicate that the request to get a lock has timed out. This usually (but not necessarily) indicates that a deadlock has occurred. DeadlockException will only ever be thrown if you have set a non-zero deadlock timeout with BeeTree.setDeadlockTimeoutMillis.

See Also:
BeeTree.setDeadlockTimeoutMillis(long), Serialized Form

Field Summary
 java.lang.Thread[] culprits
          Deprecated. Under the new locking scheme this list is no longer accessible.
 
Constructor Summary
DeadlockException()
           
DeadlockException(java.lang.Thread[] culprits)
           
 
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
 

Field Detail

culprits

public java.lang.Thread[] culprits
Deprecated. Under the new locking scheme this list is no longer accessible.
The list of threads which held a lock on the BeeTree at the time of the exception. If the array is empty, the culprit in a thread in another VM or the list is not available.

Constructor Detail

DeadlockException

public DeadlockException()

DeadlockException

public DeadlockException(java.lang.Thread[] culprits)