public class AuthenticationException
extends java.lang.Exception
Constructor and Description |
---|
AuthenticationException(java.lang.String message,
java.lang.String localizedMessage)
Construct an AuthenticationException with a message giving more details
of what went wrong.
|
AuthenticationException(java.lang.String message,
java.lang.Throwable underlyingThrowable,
java.lang.String localizedMessage)
Construct an AuthenticationException with a message and an
underlying exception.
|
AuthenticationException(java.lang.Throwable underlyingThrowable,
java.lang.String localizedMessage)
Construct an AuthenticationException with an underlying
exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMessage() |
java.lang.Throwable |
getUnderlyingThrowable()
Get the underlying throwable that is responsible for this exception.
|
public AuthenticationException(java.lang.String message, java.lang.String localizedMessage)
message
- the message describing the errorpublic AuthenticationException(java.lang.String message, java.lang.Throwable underlyingThrowable, java.lang.String localizedMessage)
message
- the message describing what went wronge
- the underlying exceptionpublic AuthenticationException(java.lang.Throwable underlyingThrowable, java.lang.String localizedMessage)
t
- the underlying throwable that caused this exceptionpublic java.lang.Throwable getUnderlyingThrowable()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable