Class FailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- javax.security.auth.login.LoginException
-
- jakarta.security.auth.message.AuthException
-
- com.sun.enterprise.security.jauth.AuthException
-
- com.sun.enterprise.security.jauth.FailureException
-
- All Implemented Interfaces:
Serializable
public class FailureException extends AuthException
Authentication failed.This exception is thrown by an AuthModule when authentication failed. This exception is only thrown when the module has updated the response message in the AuthParam.
- Version:
- %I%, %G%
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FailureException()
Constructs a FailureException with no detail message.FailureException(String msg)
Constructs a FailureException with the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FailureException
public FailureException()
Constructs a FailureException with no detail message. A detail message is a String that describes this particular exception.
-
FailureException
public FailureException(String msg)
Constructs a FailureException with the specified detail message. A detail message is a String that describes this particular exception.- Parameters:
msg
- the detail message.
-
-