# DbDeadlockException

`

###

    import com.sleepycat.db.*;

    public class DbDeadlockException extends DbException { ... }

# Description

This manual page describes the DbDeadlockException class and how it is used by the various Db* classes.

A DbDeadlockException is thrown when multiple threads competing for a lock are deadlocked. One of the threads' transactions is selected for termination, and a DbDeadlockException is thrown to that thread.

See DbEnv.set_lk_detect for more information.

### Class

DbException

# See Also

DbException.get_errno, DbDeadlockException, DbMemoryException and DbRunRecoveryException.`

Copyright Sleepycat Software