Class AuthenticationCredentialsException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AuthenticationCredentialsException
    extends AuthenticationException
    An AuthenticationException should be thrown when anything goes wrong during login or logout. They are also appropriate for any problems related to identity management.
    Author:
    Jeff Williams (jeff.williams@aspectsecurity.com)
    See Also:
    Serialized Form
    • 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

      • AuthenticationCredentialsException

        protected AuthenticationCredentialsException()
        Instantiates a new authentication exception.
      • AuthenticationCredentialsException

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

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