org.cryptonode.jncryptor
Class InvalidHMACException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.cryptonode.jncryptor.CryptorException
              extended by org.cryptonode.jncryptor.InvalidHMACException
All Implemented Interfaces:
Serializable

public class InvalidHMACException
extends CryptorException

An InvalidHMACException is thrown when the HMAC value is incorrect, indicating that the data is corrupted.

See Also:
Serialized Form

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

InvalidHMACException

public InvalidHMACException()
Constructs a new exception.


InvalidHMACException

public InvalidHMACException(String message)
Constructs a new exception.

Parameters:
message - error message

InvalidHMACException

public InvalidHMACException(Throwable cause)
Constructs a new exception.

Parameters:
cause - the cause of the exception

InvalidHMACException

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

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


Copyright © 2014. All Rights Reserved.