org.owasp.esapi.errors
Class EncodingException

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

public class EncodingException
extends EnterpriseSecurityException

An ExecutorException should be thrown for any problems that occur when encoding or decoding data.

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

Constructor Summary
EncodingException(java.lang.String userMessage, java.lang.String logMessage)
          Creates a new instance of EncodingException.
EncodingException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
          Instantiates a new EncodingException.
 
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

EncodingException

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


EncodingException

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

Parameters:
cause - the cause