public class OAuth2AuthorizationException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
OAuth2AuthorizationException(OAuth2Error error)
Constructs an
OAuth2AuthorizationException using the provided parameters. |
OAuth2AuthorizationException(OAuth2Error error,
java.lang.Throwable cause)
Constructs an
OAuth2AuthorizationException using the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Error |
getError()
Returns the
OAuth 2.0 Error. |
public OAuth2AuthorizationException(OAuth2Error error)
OAuth2AuthorizationException using the provided parameters.error - the OAuth 2.0 Errorpublic OAuth2AuthorizationException(OAuth2Error error, java.lang.Throwable cause)
OAuth2AuthorizationException using the provided parameters.error - the OAuth 2.0 Errorcause - the root causepublic OAuth2Error getError()
OAuth 2.0 Error.OAuth2Error