Interface MobileGatewayError
-
public interface MobileGatewayErrorThe MobileGatewayError provides the details of the error occurred during a card operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ExceptiongetCausingException()Provides the causing exception for the current error (if available)intgetHTTPStatusCode()Provides the HTTP Status code for Communication errors.java.lang.StringgetMessage()Provides the description of the error.MGErrorCodegetSDKErrorCode()Provides the SDK Error code occurred.intgetServerErrorCode()Provides the Server Error code.
-
-
-
Method Detail
-
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
java.lang.String getMessage()
Provides the description of the error.- Returns:
- the description of the error.
-
getCausingException
java.lang.Exception getCausingException()
Provides the causing exception for the current error (if available)- Returns:
- the causing exception Object
-
-