Class AuthenticationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
javax.security.auth.login.LoginException
javax.security.auth.message.AuthException
org.forgerock.caf.authentication.api.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:
  • Constructor Details

    • 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.