sam.io
Class MismatchingChecksumException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--sam.io.MismatchingChecksumException
All Implemented Interfaces:
java.io.Serializable

public class MismatchingChecksumException
extends java.io.IOException

Exception thrown whenever the computed checksum does not match the required one.

See Also:
Serialized Form

Constructor Summary
MismatchingChecksumException(java.util.zip.Checksum computed, long required)
          Builds a new MismatchingChecksumException
 
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

MismatchingChecksumException

public MismatchingChecksumException(java.util.zip.Checksum computed,
                                    long required)
Builds a new MismatchingChecksumException

Parameters:
computed - the computed checksum
required - the required checksum value