com.sleepycat.je.log
Class DbChecksumException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sleepycat.je.DatabaseException
com.sleepycat.je.RunRecoveryException
com.sleepycat.je.log.DbChecksumException
- All Implemented Interfaces:
- java.io.Serializable
public class DbChecksumException
- extends RunRecoveryException
Invalid serialized items seen.
- See Also:
- Serialized Form
Method Summary |
void |
addErrorMessage(java.lang.String newExtraInfo)
Support the addition of extra error information. |
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 |
DbChecksumException
public DbChecksumException(EnvironmentImpl env,
java.lang.String message)
DbChecksumException
public DbChecksumException(EnvironmentImpl env,
java.lang.String message,
java.lang.Throwable t)
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