Package com.gemalto.mfs.mwsdk.sdkconfig
Interface SDKError<T>
public interface SDKError<T>
This interface contains callback used when the SDK throws the Error.
Returns the ErrorCode and ErrorMessage.
-
Method Summary
Modifier and TypeMethodDescriptionReturns additional information if availableReturns the underlying exception that caused the Error.Return errorCode objectReturns a descriptive error message.
-
Method Details
-
getErrorMessage
String getErrorMessage()Returns a descriptive error message.- Returns:
- String representation of the error message describing why the operation failed.
-
getErrorCode
T getErrorCode()Return errorCode object -
getAdditionalInformation
Returns additional information if available- Returns:
- hashmap of additional information
-
getCausingException
Throwable getCausingException()Returns the underlying exception that caused the Error. If no underlying exception, can be null.- Returns:
- exception object
-