com.stripe.exception.oauth.OAuthException Maven / Gradle / Ivy
package com.stripe.exception.oauth;
import com.stripe.exception.StripeException;
/**
* Base parent class for all OAuth exceptions.
*/
public class OAuthException extends StripeException {
private static final long serialVersionUID = 1L;
private final String code;
public OAuthException(String code, String description, String requestId, Integer statusCode, Throwable e) {
super(description, requestId, statusCode, e);
this.code = code;
}
public String getCode() {
return code;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy