extends Exception
This class is the common SDKException object. This stands as a POJO for the SDKException thrown.
Constructor | Description |
---|---|
SDKException(String code, String message, Exception cause) | Creates an SDKException class instance with the specified parameters. |
SDKException(String code, JSONObject details) | Creates an SDKException class instance with the specified parameters. |
SDKException(String code, String message) | Creates an SDKException class instance with the specified parameters. |
SDKException(String message, Exception cause) | Creates an SDKException class instance with the specified parameters. |
SDKException(Exception cause) | Creates an SDKException class instance with the specified parameters. |
SDKException(String code, String message, JSONObject details, Exception cause) | Creates an SDKException class instance with the specified parameters. |
A String containing the Exception error code.
A String containing the Exception error message.
An Exception class instance.
A JSONObject containing the error response.
Return Type | Method | Description |
---|---|---|
String | getCode() | This is a getter method to get SDKException Code. |
String | getMessage() | This is a getter method to get SDKException Message. |
Throwable | getCause() | This is a getter method to get SDKException Cause. |
JSONObject | getDetails() | This is a getter method to get SDKException Details. |