Library Version 11.2.5.3

DbRepHandleDeadException
Prev | Chapter 6. The DbException Class | Next

## DbRepHandleDeadException

    #include <db_cxx.h>

    class DbRepHandleDeadException : public DbException {
    };

This information describes the `DbRepHandleDead` class and how it is used by the various Berkeley DB classes.

A `DbRepHandleDeadException` is seen only for replicated applications. When a client synchronizes with the master, it is possible for committed transactions to be rolled back. This invalidates all the database and cursor handles opened in the replication environment.

This exception is therefore thrown when the application attempts to access a database or cursor handle that has been invalidated due to a transaction roll back.

When this exception is seen, the application must abandon the attempted operation, discard the handle, and then open a new one before proceeding with the abandoned operation.

Prev | Up | Next
DbMemoryException | Home | DbRunRecoveryException