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