Class EncodingException

  • All Implemented Interfaces:
    java.io.Serializable

    public class EncodingException
    extends EnterpriseSecurityException
    An EncodingException 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

      Constructors 
      Modifier Constructor Description
      protected EncodingException()
      Instantiates a new service exception.
        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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • EncodingException

        protected EncodingException()
        Instantiates a new service exception.
      • EncodingException

        public EncodingException​(java.lang.String userMessage,
                                 java.lang.String logMessage)
        Creates a new instance of EncodingException.
        Parameters:
        userMessage - the message displayed to the user
        logMessage - the message logged
      • EncodingException

        public EncodingException​(java.lang.String userMessage,
                                 java.lang.String logMessage,
                                 java.lang.Throwable cause)
        Instantiates a new EncodingException.
        Parameters:
        userMessage - the message displayed to the user
        logMessage - the message logged
        cause - the cause