Interface MobileGatewayError
-
public interface MobileGatewayError
The 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.Exception
getCausingException()
Provides the causing exception for the current error (if available)int
getHTTPStatusCode()
Provides the HTTP Status code for Communication errors.java.lang.String
getMessage()
Provides the description of the error.MGErrorCode
getSDKErrorCode()
Provides the SDK Error code occurred.int
getServerErrorCode()
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
-
-