com.sleepycat.db
Class DbRunRecoveryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sleepycat.db.DbException
              extended by 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
 
Method Summary
 
Methods inherited from class com.sleepycat.db.DbException
get_errno, getDbEnv, getErrno, toString
 
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
 

Constructor Detail

DbRunRecoveryException

protected DbRunRecoveryException(java.lang.String s,
                                 int errno,
                                 DbEnv dbenv)
Constructor for the DbRunRecoveryException object