Class 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

      Constructors 
      Modifier Constructor Description
      protected EncryptionException()
      Instantiates a new EncryptionException.
        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.
    • 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

      • EncryptionException

        protected EncryptionException()
        Instantiates a new EncryptionException.
      • EncryptionException

        public EncryptionException​(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
      • EncryptionException

        public EncryptionException​(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