public class InvalidResourceAuthenticationException extends AuthenticationException
AuthenticationException
thrown when the registration request
included an invalid resource to register.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 |
---|
InvalidResourceAuthenticationException(java.lang.String message)
Constructs a
InvalidResourceAuthenticationException with
the specified message. |
InvalidResourceAuthenticationException(java.lang.String message,
java.lang.Throwable cause)
Constructs a
InvalidResourceAuthenticationException 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 InvalidResourceAuthenticationException(java.lang.String message)
InvalidResourceAuthenticationException
with
the specified message.message
- the detail messagepublic InvalidResourceAuthenticationException(java.lang.String message, java.lang.Throwable cause)
InvalidResourceAuthenticationException
with
the specified message and root cause.message
- the detail messagecause
- root causepublic java.lang.String getErrorCode()
getErrorCode
in class AuthenticationException