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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.HashMap<java.lang.String,java.lang.Object>
getAdditionalInformation()
Returns additional information if availablejava.lang.Throwable
getCausingException()
Returns the underlying exception that caused the Error.T
getErrorCode()
Return errorCode objectjava.lang.String
getErrorMessage()
Returns a descriptive error message.
-
-
-
Method Detail
-
getErrorMessage
java.lang.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
java.util.HashMap<java.lang.String,java.lang.Object> getAdditionalInformation()
Returns additional information if available- Returns:
- hashmap of additional information
-
getCausingException
java.lang.Throwable getCausingException()
Returns the underlying exception that caused the Error. If no underlying exception, can be null.- Returns:
- exception object
-
-