com.stripe.exception.oauth.OAuthException Maven / Gradle / Ivy
// Generated by delombok at Fri May 03 17:08:00 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 - 2025 Weber Informatics LLC | Privacy Policy