Package com.gemalto.mfs.mwsdk.dcm
Class TokenSyncError
java.lang.Object
com.gemalto.mfs.mwsdk.dcm.TokenSyncError
TokenSyncError provides the details of the error that occurs during the token synchronisation process.
- Since:
- 6.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionTokenSyncError(TokenSyncErrorCode tokenSyncErrorCode, String errorMessage) Constructor to create object of TokenSyncError. -
Method Summary
Modifier and TypeMethodDescriptionReturns a code that can be associated with an error that is understood by the SDK.Returns the detail message of the error.
-
Constructor Details
-
TokenSyncError
Constructor to create object of TokenSyncError.- Parameters:
tokenSyncErrorCode- An error code as defined inTokenSyncErrorCode.errorMessage- A string describing the error that occurs.
-
-
Method Details
-
getErrorCode
Returns a code that can be associated with an error that is understood by the SDK. It is through this error code which helps the mobile wallet understand the root cause of token sync error.- Returns:
- An error code of type
TokenSyncErrorCode.
-
getMessage
Returns the detail message of the error.- Returns:
- The error message.
-