Package jakarta.security.auth.message
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
A generic authentication exception.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs an AuthException with no detail message.AuthException
(String msg) Constructs an AuthException 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 Details
-
AuthException
public AuthException()Constructs an AuthException with no detail message. A detail message is a String that describes this particular exception. -
AuthException
Constructs an AuthException with the specified detail message. A detail message is a String that describes this particular exception.- Parameters:
msg
- The detail message.
-