Package org.owasp.esapi.errors
Class EncryptionRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.owasp.esapi.errors.EnterpriseSecurityRuntimeException
-
- org.owasp.esapi.errors.EncryptionRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
public class EncryptionRuntimeException extends EnterpriseSecurityRuntimeException
An EncryptionRuntimeException should be thrown for any problems related to encryption, hashing, or digital signatures.- Since:
- October 8, 2010
- Author:
- August Detlefsen (augustd at codemagi dot com) CodeMagi, Inc.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.owasp.esapi.errors.EnterpriseSecurityRuntimeException
logger, logMessage
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EncryptionRuntimeException()
Instantiates a new EncryptionException.EncryptionRuntimeException(java.lang.String userMessage, java.lang.String logMessage)
Creates a new instance of EncryptionException.EncryptionRuntimeException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
Instantiates a new EncryptionException.
-
Method Summary
-
Methods inherited from class org.owasp.esapi.errors.EnterpriseSecurityRuntimeException
getLogMessage, getUserMessage
-
-
-
-
Constructor Detail
-
EncryptionRuntimeException
protected EncryptionRuntimeException()
Instantiates a new EncryptionException.
-
EncryptionRuntimeException
public EncryptionRuntimeException(java.lang.String userMessage, java.lang.String logMessage)
Creates a new instance of EncryptionException.- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message logged
-
EncryptionRuntimeException
public EncryptionRuntimeException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
Instantiates a new EncryptionException.- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message loggedcause
- the cause
-
-