org.owasp.esapi.errors
Class EncryptionRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.owasp.esapi.errors.EnterpriseSecurityRuntimeException
                  extended by 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
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
 
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

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 user
logMessage - 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 user
logMessage - the message logged
cause - the cause


Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.