public class AuthenticationException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHENTICATION_EXCEPTION_OCCURRED |
| Constructor and Description |
|---|
AuthenticationException(String msg)
Deprecated.
|
AuthenticationException(String msg,
String reasonCode)
Creates a new AuthenticationException with the given message.
|
AuthenticationException(String msg,
Throwable cause)
Deprecated.
|
AuthenticationException(String msg,
Throwable cause,
String reasonCode)
Creates a new AuthenticationException with the given message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationErrorInfo |
errorInfo() |
void |
errorInfo(AuthenticationErrorInfo errorInfo) |
String |
reasonCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String AUTHENTICATION_EXCEPTION_OCCURRED
@Deprecated public AuthenticationException(String msg)
msg - the error message@Deprecated public AuthenticationException(String msg, Throwable cause)
msg - the error messagecause - the cause of the errorpublic AuthenticationException(String msg, String reasonCode)
msg - the error messagereasonCode - a static string describing the error. Could be used for indexing or metrics.
Default value is AUTHENTICATION_EXCEPTION_OCCURRED.public AuthenticationException(String msg, Throwable cause, String reasonCode)
msg - the error messagecause - the cause of the errorreasonCode - a static string describing the error. Could be used for indexing or metrics.
Default value is AUTHENTICATION_EXCEPTION_OCCURRED.public void errorInfo(AuthenticationErrorInfo errorInfo)
public AuthenticationErrorInfo errorInfo()
public String reasonCode()