public class ClientAuthorizationException extends OAuth2AuthorizationException
OAuth2AuthorizedClient
,
Serialized FormConstructor and Description |
---|
ClientAuthorizationException(OAuth2Error error,
java.lang.String clientRegistrationId)
Constructs a
ClientAuthorizationException using the provided parameters. |
ClientAuthorizationException(OAuth2Error error,
java.lang.String clientRegistrationId,
java.lang.String message)
Constructs a
ClientAuthorizationException using the provided parameters. |
ClientAuthorizationException(OAuth2Error error,
java.lang.String clientRegistrationId,
java.lang.String message,
java.lang.Throwable cause)
Constructs a
ClientAuthorizationException using the provided parameters. |
ClientAuthorizationException(OAuth2Error error,
java.lang.String clientRegistrationId,
java.lang.Throwable cause)
Constructs a
ClientAuthorizationException using the provided parameters. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientRegistrationId()
Returns the identifier for the client's registration.
|
getError
public ClientAuthorizationException(OAuth2Error error, java.lang.String clientRegistrationId)
ClientAuthorizationException
using the provided parameters.error
- the OAuth 2.0 Error
clientRegistrationId
- the identifier for the client's registrationpublic ClientAuthorizationException(OAuth2Error error, java.lang.String clientRegistrationId, java.lang.String message)
ClientAuthorizationException
using the provided parameters.error
- the OAuth 2.0 Error
clientRegistrationId
- the identifier for the client's registrationmessage
- the exception messagepublic ClientAuthorizationException(OAuth2Error error, java.lang.String clientRegistrationId, java.lang.Throwable cause)
ClientAuthorizationException
using the provided parameters.error
- the OAuth 2.0 Error
clientRegistrationId
- the identifier for the client's registrationcause
- the root causepublic ClientAuthorizationException(OAuth2Error error, java.lang.String clientRegistrationId, java.lang.String message, java.lang.Throwable cause)
ClientAuthorizationException
using the provided parameters.error
- the OAuth 2.0 Error
clientRegistrationId
- the identifier for the client's registrationmessage
- the exception messagecause
- the root cause