All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stripe.exception.oauth.OAuthException Maven / Gradle / Ivy

There is a newer version: 26.13.0-beta.1
Show newest version
// Generated by delombok at Tue Sep 03 10:42:51 PDT 2019
package com.stripe.exception.oauth;

import com.stripe.exception.StripeException;
import com.stripe.model.oauth.OAuthError;

/**
 * Base parent class for all OAuth exceptions.
 */
public class OAuthException extends StripeException {
  private static final long serialVersionUID = 2L;
  /**
   * The error resource returned by Stripe's OAuth API that caused the exception.
   */
  OAuthError oauthError;

  public OAuthException(String code, String description, String requestId, Integer statusCode, Throwable e) {
    super(description, requestId, code, statusCode, e);
  }

  /**
   * The error resource returned by Stripe's OAuth API that caused the exception.
   */
  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public OAuthError getOauthError() {
    return this.oauthError;
  }

  /**
   * The error resource returned by Stripe's OAuth API that caused the exception.
   */
  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public void setOauthError(final OAuthError oauthError) {
    this.oauthError = oauthError;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy