org.cryptonode.jncryptor
Class CryptorException

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

public class CryptorException
extends Exception

An exception thrown when an error occurs encrypting or decrypting.

See Also:
Serialized Form

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

CryptorException

public CryptorException()
Constructs a new exception.


CryptorException

public CryptorException(String message)
Constructs a new exception.

Parameters:
message - error message

CryptorException

public CryptorException(Throwable cause)
Constructs a new exception.

Parameters:
cause - the cause of the exception

CryptorException

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

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


Copyright © 2014. All Rights Reserved.