public class InternalAuthenticationException extends AuthenticationException
ATTRIBUTE_CREATE_DENIED, BAD_CREDENTIALS, CREDENTIALS_EXPIRED, INTERNAL_ERROR, INVALID_CLIENT, INVALID_IDENTITY_PROVIDER, INVALID_REQUEST, INVALID_RESOURCE, OAUTH2_ERROR, RESOURCE_CONFLICT, USER_DISABLED, USER_LOCKED
Constructor and Description |
---|
InternalAuthenticationException(java.lang.String message)
Constructs an
InternalAuthenticationException with the specified
message and no root cause. |
InternalAuthenticationException(java.lang.String message,
java.lang.Throwable cause)
Constructs an
InternalAuthenticationException with the specified
message and root cause. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode()
Retrieve the error code associated with this exception.
|
addAdditionalInformation, getAdditionalInformation
public InternalAuthenticationException(java.lang.String message)
InternalAuthenticationException
with the specified
message and no root cause.message
- the detail messagepublic InternalAuthenticationException(java.lang.String message, java.lang.Throwable cause)
InternalAuthenticationException
with the specified
message and root cause.message
- the detail messagecause
- the root causepublic java.lang.String getErrorCode()
getErrorCode
in class AuthenticationException