Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.worldline.acquiring.sdk.java.v1.ApiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthorizationException,PlatformException,ReferenceException,ValidationException
Represents an error response from the Worldline Acquiring platform.
- 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
-
Constructor Details
-
ApiException
-
ApiException
-
-
Method Details
-
getStatusCode
public int getStatusCode()- Returns:
- The HTTP status code that was returned by the Worldline Acquiring platform.
-
getResponseBody
- Returns:
- The raw response body that was returned by the Worldline Acquiring platform.
-
getType
- Returns:
- The
typereceived from the Worldline Acquiring platform if available.
-
getTitle
- Returns:
- The
titlereceived from the Worldline Acquiring platform if available.
-
getStatus
- Returns:
- The
statusreceived from the Worldline Acquiring platform if available.
-
getDetail
- Returns:
- The
detailreceived from the Worldline Acquiring platform if available.
-
getInstance
- Returns:
- The
instancereceived from the Worldline Acquiring platform if available.
-
toString
-