public class OAuthException extends StripeException
Constructor and Description |
---|
OAuthException(java.lang.String code,
java.lang.String description,
java.lang.String requestId,
java.lang.Integer statusCode,
java.lang.Throwable e) |
Modifier and Type | Method and Description |
---|---|
OAuthError |
getOauthError()
The error resource returned by Stripe's OAuth API that caused the exception.
|
void |
setOauthError(OAuthError oauthError)
The error resource returned by Stripe's OAuth API that caused the exception.
|
getCode, getMessage, getRequestId, getStatusCode, getStripeError, setStripeError
public OAuthException(java.lang.String code, java.lang.String description, java.lang.String requestId, java.lang.Integer statusCode, java.lang.Throwable e)
public OAuthError getOauthError()
public void setOauthError(OAuthError oauthError)