com.sleepycat.db
Class DbDeadlockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sleepycat.db.DbException
              extended by com.sleepycat.db.DbDeadlockException
All Implemented Interfaces:
java.io.Serializable

public class DbDeadlockException
extends DbException

This information describes the DbDeadlockException class and how it is used in the Berkeley DB library.

A DbDeadlockException is thrown when multiple threads competing for a lock are deadlocked, when a lock request has timed out, or when a lock request would need to block and the transaction has been configured to not wait for locks. One of the threads' transactions is selected for termination, and a DbDeadlockException is thrown to that thread.

See Also:
Serialized Form

Constructor Summary
protected DbDeadlockException(java.lang.String s, int errno, DbEnv dbenv)
          Constructor for the DbDeadlockException object
 
Method Summary
 
Methods inherited from class com.sleepycat.db.DbException
get_errno, getDbEnv, getErrno, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbDeadlockException

protected DbDeadlockException(java.lang.String s,
                              int errno,
                              DbEnv dbenv)
Constructor for the DbDeadlockException object