Class AuthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
javax.security.auth.login.LoginException
jakarta.security.auth.message.AuthException
- All Implemented Interfaces:
Serializable
Exception thrown when a JASPIC authentication operation fails. This exception is used by authentication modules
and contexts to signal errors during the authentication process.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an AuthException with no detail message.AuthException(String msg) Constructs an AuthException with the specified detail message.AuthException(String msg, Throwable cause) Construct an instance of AuthException.AuthException(Throwable cause) Construct an instance of AuthException. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthException
public AuthException()Constructs an AuthException with no detail message. -
AuthException
Constructs an AuthException with the specified detail message.- Parameters:
msg- the detail message
-
AuthException
-
AuthException
Construct an instance of AuthException.- Parameters:
cause- The cause of the exception- Since:
- Authentication 3.0
-