Package com.stripe.exception.oauth
Class OAuthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.stripe.exception.StripeException
com.stripe.exception.oauth.OAuthException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidClientException
,InvalidGrantException
,InvalidRequestException
,InvalidScopeException
,UnsupportedGrantTypeException
,UnsupportedResponseTypeException
Base parent class for all OAuth exceptions.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe error resource returned by Stripe's OAuth API that caused the exception.void
setOauthError
(OAuthError oauthError) The error resource returned by Stripe's OAuth API that caused the exception.Methods inherited from class com.stripe.exception.StripeException
getCode, getMessage, getRequestId, getStatusCode, getStripeError, getUserMessage, setStripeError
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OAuthException
-
-
Method Details
-
getOauthError
The error resource returned by Stripe's OAuth API that caused the exception. -
setOauthError
The error resource returned by Stripe's OAuth API that caused the exception.
-