com.sleepycat.db
Class DatabaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sleepycat.db.DatabaseException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DeadlockException, MemoryException, ReplicationHandleDeadException, RunRecoveryException
public class DatabaseException
- extends java.lang.Exception
- See Also:
- Serialized Form
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 |
DatabaseException
public DatabaseException(java.lang.String s)
DatabaseException
public DatabaseException(java.lang.String s,
int errno)
DatabaseException
public DatabaseException(java.lang.String s,
int errno,
Environment dbenv)
DatabaseException
protected DatabaseException(java.lang.String s,
int errno,
DbEnv dbenv)
getEnvironment
public Environment getEnvironment()
getErrno
public int getErrno()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable