### 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.

`

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.