com.sleepycat.db
Class DatabaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sleepycat.db.DatabaseException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DeadlockException, MemoryException, ReplicationDuplicateMasterException, ReplicationHandleDeadException, ReplicationHoldElectionException, ReplicationJoinFailureException, ReplicationLeaseExpiredException, ReplicationLeaseTimeoutException, ReplicationLockoutException, ReplicationSiteUnavailableException, RunRecoveryException, VersionMismatchException

public class DatabaseException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
DatabaseException(java.lang.String s)
           
DatabaseException(java.lang.String s, int errno)
           
DatabaseException(java.lang.String s, int errno, Environment dbenv)
           
 
Method Summary
 Environment getEnvironment()
           
 int getErrno()
           
 java.lang.String 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

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)
Method Detail

getEnvironment

public Environment getEnvironment()

getErrno

public int getErrno()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable