com.sleepycat.je.log
Class DbChecksumException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sleepycat.je.DatabaseException
              extended by com.sleepycat.je.RunRecoveryException
                  extended by com.sleepycat.je.log.DbChecksumException
All Implemented Interfaces:
java.io.Serializable

public class DbChecksumException
extends RunRecoveryException

Invalid serialized items seen.

See Also:
Serialized Form

Constructor Summary
DbChecksumException(EnvironmentImpl env, java.lang.String message)
           
DbChecksumException(EnvironmentImpl env, java.lang.String message, java.lang.Throwable t)
           
 
Method Summary
 void addErrorMessage(java.lang.String newExtraInfo)
          Support the addition of extra error information.
 java.lang.String toString()
           
 
Methods inherited from class com.sleepycat.je.RunRecoveryException
setAlreadyThrown
 
Methods inherited from class com.sleepycat.je.DatabaseException
getVersionHeader
 
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

DbChecksumException

public DbChecksumException(EnvironmentImpl env,
                           java.lang.String message)

DbChecksumException

public DbChecksumException(EnvironmentImpl env,
                           java.lang.String message,
                           java.lang.Throwable t)
Method Detail

addErrorMessage

public void addErrorMessage(java.lang.String newExtraInfo)
Support the addition of extra error information. Use this approach rather than wrapping exceptions because RunRecoveryException hierarchy does some intricate things with setting the environment as invalid.


toString

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