Class AuthenticationException



  • public class AuthenticationException
    extends java.security.GeneralSecurityException
    A generic authentication exception. This exception corresponds to the JASPIC (JSR 196) AuthException in that whenever a method from the HttpAuthenticationMechanism throws this exception, the JASPIC bridge has to throw an AuthException back to the JASPIC runtime wrapping this exception.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthenticationException​()
      Constructs a new AuthenticationException exception with null as its detail message.
      AuthenticationException​(java.lang.String message)
      Constructs a new AuthenticationException exception with the specified detail message.
      AuthenticationException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new AuthenticationException exception with the specified detail message and cause.
      AuthenticationException​(java.lang.Throwable cause)
      Constructs a new AuthenticationException exception with the specified cause.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • AuthenticationException

        public AuthenticationException​()
        Constructs a new AuthenticationException exception with null as its detail message.
      • AuthenticationException

        public AuthenticationException​(java.lang.String message)
        Constructs a new AuthenticationException exception with the specified detail message.
        Parameters:
        message - the detail message.
      • AuthenticationException

        public AuthenticationException​(java.lang.String message,
                                       java.lang.Throwable cause)
        Constructs a new AuthenticationException exception with the specified detail message and cause.
        Parameters:
        message - the detail message.
        cause - the cause.
      • AuthenticationException

        public AuthenticationException​(java.lang.Throwable cause)
        Constructs a new AuthenticationException exception with the specified cause.
        Parameters:
        cause - the cause.