### DbDeadlockException |

`

###

    #include <db_cxx.h>

    class DbDeadlockException : public DbException { ... };

### Description: DbDeadlockException

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.

The DbException errno value is set to DB_LOCK_DEADLOCK.

`

Copyright (c) 1996,2007 Oracle. All rights reserved.