Class AuthenticationException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    AuthenticationFailedException

    public class AuthenticationException
    extends javax.security.auth.message.AuthException
    A generic authentication exception which accepts a detail message and/or the cause.
    Since:
    2.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • AuthenticationException

        public AuthenticationException​(String message)
        Creates an AuthenticationException with the specified detail message.
        Parameters:
        message - The detail message.
      • AuthenticationException

        public AuthenticationException​(Throwable cause)
        Creates an AuthenticationException with the specified cause and a detail message of (cause==null ? null : cause.getMessage()).
        Parameters:
        cause - The cause.
      • AuthenticationException

        public AuthenticationException​(String message,
                                       Throwable cause)
        Creates an AuthenticationException with the specified detail message and cause.
        Parameters:
        message - The detail message.
        cause - The cause.