public class AuthenticationException extends Exception
Constructor and Description |
---|
AuthenticationException(String message,
String localizedMessage)
Construct an AuthenticationException with a message giving more details
of what went wrong.
|
AuthenticationException(String message,
Throwable underlyingThrowable,
String localizedMessage)
Construct an AuthenticationException with a message and an underlying
exception.
|
AuthenticationException(Throwable underlyingThrowable,
String localizedMessage)
Construct an AuthenticationException with an underlying exception.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
getBundleString(String key) |
String |
getLocalizedMessage() |
String |
getMessage() |
Throwable |
getUnderlyingThrowable()
Get the underlying throwable that is responsible for this exception.
|
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthenticationException(String message, String localizedMessage)
message
- the message describing the errorpublic AuthenticationException(String message, Throwable underlyingThrowable, String localizedMessage)
message
- the message describing what went wronge
- the underlying exceptionpublic Throwable getUnderlyingThrowable()
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public String getMessage()
getMessage
in class Throwable
Copyright © 2016. All rights reserved.