DbRunRecoveryException

APIRef

import com.sleepycat.db.*;

public class DbRunRecoveryException extends DbException { ... }

Description

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

Errors can occur in the Berkeley DB library where the only solution is to shut down the application and run recovery (for example, if Berkeley DB is unable to allocate heap memory). When a fatal error occurs in Berkeley DB, methods will throw a DbRunRecoveryException, at which point all subsequent database calls will also fail in the same way. When this occurs, recovery should be performed.

Class

DbException

See Also

DbException.get_errno, DbDeadlockException, DbMemoryException, and DbRunRecoveryException.

APIRef

Copyright Sleepycat Software