Class OAuth2ClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mastercard.developer.oauth2.exception.OAuth2ClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OAuth2ClientConfigException
General exception for OAuth2 client errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2ClientException(String message) Creates a newOAuth2ClientExceptionwith the specified message.OAuth2ClientException(String message, Throwable cause) Creates a newOAuth2ClientExceptionwith the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OAuth2ClientException
Creates a newOAuth2ClientExceptionwith the specified message. -
OAuth2ClientException
Creates a newOAuth2ClientExceptionwith the specified message and cause.
-