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
public class AuthException extends LoginException
A generic authentication exception.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AuthException()
Constructs 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.
-