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
public class AuthenticationException extends IOException
An exception indicating that an initial authentication (login) operation has failed.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException()
Constructs a neworg.wildfly.security.auth.AuthenticationException
instance.AuthenticationException(String msg)
Constructs a neworg.wildfly.security.auth.AuthenticationException
instance with an initial message.AuthenticationException(String msg, Throwable cause)
Constructs a neworg.wildfly.security.auth.AuthenticationException
instance with an initial message and cause.AuthenticationException(Throwable cause)
Constructs a neworg.wildfly.security.auth.AuthenticationException
instance 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 Detail
-
AuthenticationException
public AuthenticationException()
Constructs a neworg.wildfly.security.auth.AuthenticationException
instance. The message is left blank (null
), and no cause is specified.
-
AuthenticationException
public AuthenticationException(String msg)
Constructs a neworg.wildfly.security.auth.AuthenticationException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
AuthenticationException
public AuthenticationException(Throwable cause)
Constructs a neworg.wildfly.security.auth.AuthenticationException
instance with an initial cause. If a non-null
cause 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
-
-