org.owasp.esapi.errors
Class EncryptionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.owasp.esapi.errors.EnterpriseSecurityException
              extended byorg.owasp.esapi.errors.EncryptionException
All Implemented Interfaces:
java.io.Serializable

public class EncryptionException
extends EnterpriseSecurityException

An EncryptionException should be thrown for any problems related to encryption, hashing, or digital signatures.

Author:
Jeff Williams (jeff.williams@aspectsecurity.com)
See Also:
Serialized Form

Constructor Summary
EncryptionException(java.lang.String userMessage, java.lang.String logMessage)
          Creates a new instance of EncryptionException.
EncryptionException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
          Instantiates a new EncryptionException.
 
Methods inherited from class org.owasp.esapi.errors.EnterpriseSecurityException
getLogMessage, getUserMessage
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncryptionException

public EncryptionException(java.lang.String userMessage,
                           java.lang.String logMessage)
Creates a new instance of EncryptionException.


EncryptionException

public EncryptionException(java.lang.String userMessage,
                           java.lang.String logMessage,
                           java.lang.Throwable cause)
Instantiates a new EncryptionException.

Parameters:
cause - the cause