public class AuthException
extends javax.security.auth.login.LoginException
Constructor and Description |
---|
AuthException()
Constructs an AuthException with no detail message.
|
AuthException(java.lang.String msg)
Constructs an AuthException with the specified detail message.
|
AuthException(java.lang.String msg,
java.lang.Throwable cause)
Constructs an AuthException with the specified detail message and cause.
|
AuthException(java.lang.Throwable cause)
Constructs an AuthException with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail message of
cause ). |
public AuthException()
public AuthException(java.lang.String msg)
msg
- The detail message.public AuthException(java.lang.String msg, java.lang.Throwable cause)
NOTE: Providing a cause could potentially disclose information about the security system to an outside party. Utter care should be taken that this is either not the case, or the exception is correctly handled to prevent this.
msg
- The detail message.cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null
value
is permitted, and indicates that the cause is nonexistent or unknown.)public AuthException(java.lang.Throwable cause)
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
).
*NOTE: Providing a cause could potentially disclose information about the security system to an outside party. Utter care should be taken that this is either not the case, or the exception is correctly handled to prevent this.
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null
value
is permitted, and indicates that the cause is nonexistent or unknown.)