Interface MobileGatewayError
public interface MobileGatewayError
The MobileGatewayError provides the details of the error occurred during a card operation.
-
Method Summary
Modifier and TypeMethodDescriptionProvides the causing exception for the current error (if available)intProvides the HTTP Status code for Communication errors.Provides the description of the error.Provides the SDK Error code occurred.intProvides the Server Error code.
-
Method Details
-
getSDKErrorCode
MGErrorCode getSDKErrorCode()Provides the SDK Error code occurred.- Returns:
- the code of SDK error.
-
getServerErrorCode
int getServerErrorCode()Provides the Server Error code.- Returns:
- the Server error code.
-
getHTTPStatusCode
int getHTTPStatusCode()Provides the HTTP Status code for Communication errors.- Returns:
- the HTTP Status code.
-
getMessage
String getMessage()Provides the description of the error.- Returns:
- the description of the error.
-
getCausingException
Exception getCausingException()Provides the causing exception for the current error (if available)- Returns:
- the causing exception Object
-