com.sleepycat.je.log
Class ChecksumException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sleepycat.je.log.ChecksumException
All Implemented Interfaces:
Serializable

public class ChecksumException
extends Exception

Indicates that a checksum validation failed. A checked exception is used so it can be caught and handled internally in some cases. When not handled internally, it is wrapped with an EnvironmentFailureException with EnvironmentFailureReason.LOG_CHECKSUM before being propagated through the public API.

See Also:
Serialized Form

Constructor Summary
ChecksumException(String message)
           
ChecksumException(String message, Exception e)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChecksumException

public ChecksumException(String message)

ChecksumException

public ChecksumException(String message,
                         Exception e)


Copyright (c) 2004-2010 Oracle. All rights reserved.