Package com.onlinepayments.webhooks
Class ApiVersionMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.onlinepayments.webhooks.ApiVersionMismatchException
- All Implemented Interfaces:
Serializable
Represents an error because a webhooks event has an API version that this version of the SDK does not support.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiVersionMismatchException
-
-
Method Details
-
getEventApiVersion
- Returns:
- The API version from the webhooks event.
-
getSdkApiVersion
- Returns:
- The API version that this version of the SDK supports.
-