com.sleepycat.db
Class DbRunRecoveryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sleepycat.db.DbException
com.sleepycat.db.DbRunRecoveryException
- All Implemented Interfaces:
- java.io.Serializable
public class DbRunRecoveryException
- extends DbException
This information describes the DbRunRecoveryException class and
how it is used by the various Berkeley 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.
- See Also:
- Serialized Form
Constructor Summary |
protected |
DbRunRecoveryException(java.lang.String s,
int errno,
DbEnv dbenv)
Constructor for the DbRunRecoveryException object |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DbRunRecoveryException
protected DbRunRecoveryException(java.lang.String s,
int errno,
DbEnv dbenv)
- Constructor for the DbRunRecoveryException object