Class ChecksumException

All Implemented Interfaces:
Serializable

public class ChecksumException extends CorruptDatabaseException
Thrown when a page of data from the database is detected as being corrupt because the stored checksum doesn't match what was freshly computed.
See Also:
  • Constructor Details

    • ChecksumException

      public ChecksumException(long pageId, int storedChecksum, int computedChecksum)
    • ChecksumException

      public ChecksumException(long pageId, long storedChecksum, long computedChecksum)
    • ChecksumException

      public ChecksumException(String message, long storedChecksum, long computedChecksum)
  • Method Details

    • storedChecksum

      public long storedChecksum()
    • computedChecksum

      public long computedChecksum()
    • isRecoverable

      public boolean isRecoverable()
      Description copied from class: DatabaseException
      Returns false if database should be closed as a result of this exception.
      Overrides:
      isRecoverable in class DatabaseException