Package org.wildfly.security.auth
Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.wildfly.security.auth.AuthenticationException
- All Implemented Interfaces:
Serializable
An exception indicating that an initial authentication (login) operation has failed.
- Author:
- David M. Lloyd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a neworg.wildfly.security.auth.AuthenticationExceptioninstance.Constructs a neworg.wildfly.security.auth.AuthenticationExceptioninstance with an initial message.AuthenticationException(String msg, Throwable cause) Constructs a neworg.wildfly.security.auth.AuthenticationExceptioninstance with an initial message and cause.AuthenticationException(Throwable cause) Constructs a neworg.wildfly.security.auth.AuthenticationExceptioninstance with an initial cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationException
public AuthenticationException()Constructs a neworg.wildfly.security.auth.AuthenticationExceptioninstance. The message is left blank (null), and no cause is specified. -
AuthenticationException
Constructs a neworg.wildfly.security.auth.AuthenticationExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
AuthenticationException
Constructs a neworg.wildfly.security.auth.AuthenticationExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisorg.wildfly.security.auth.AuthenticationException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
AuthenticationException
Constructs a neworg.wildfly.security.auth.AuthenticationExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-