org.cryptonode.jncryptor
Class StreamIntegrityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.cryptonode.jncryptor.StreamIntegrityException
All Implemented Interfaces:
Serializable

public class StreamIntegrityException
extends IOException

Thrown when a stream fails HMAC validation.

See Also:
Serialized Form

Constructor Summary
StreamIntegrityException()
          Constructs a new exception.
StreamIntegrityException(String message)
          Constructs a new exception.
StreamIntegrityException(String message, Throwable cause)
          Constructs a new exception.
StreamIntegrityException(Throwable cause)
          Constructs a new exception.
 
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

StreamIntegrityException

public StreamIntegrityException()
Constructs a new exception.


StreamIntegrityException

public StreamIntegrityException(String message)
Constructs a new exception.

Parameters:
message - error message

StreamIntegrityException

public StreamIntegrityException(Throwable cause)
Constructs a new exception.

Parameters:
cause - the cause of the exception

StreamIntegrityException

public StreamIntegrityException(String message,
                                Throwable cause)
Constructs a new exception.

Parameters:
message - error message
cause - the cause of the exception


Copyright © 2014. All Rights Reserved.