Class OAuthException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, UnsupportedGrantTypeException, UnsupportedResponseTypeException

public class OAuthException extends StripeException
Base parent class for all OAuth exceptions.
See Also:
  • Constructor Details

  • Method Details

    • getOauthError

      public OAuthError getOauthError()
      The error resource returned by Stripe's OAuth API that caused the exception.
    • setOauthError

      public void setOauthError(OAuthError oauthError)
      The error resource returned by Stripe's OAuth API that caused the exception.