Package com.stripe.exception.oauth
Class InvalidGrantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.stripe.exception.StripeException
com.stripe.exception.oauth.OAuthException
com.stripe.exception.oauth.InvalidGrantException
- All Implemented Interfaces:
Serializable
InvalidGrantException is raised when a specified code doesn't exist, is expired, has been used,
or doesn't belong to you; a refresh token doesn't exist, or doesn't belong to you; or if an API
key's mode (live or test) doesn't match the mode of a code or refresh token.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class com.stripe.exception.oauth.OAuthException
getOauthError, setOauthError
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
-
InvalidGrantException
-