Class TokenSyncError

java.lang.Object
com.gemalto.mfs.mwsdk.dcm.TokenSyncError

public class TokenSyncError extends Object
TokenSyncError provides the details of the error that occurs during the token synchronisation process.
Since:
6.2.0
  • Constructor Details

    • TokenSyncError

      public TokenSyncError(TokenSyncErrorCode tokenSyncErrorCode, String errorMessage)
      Constructor to create object of TokenSyncError.
      Parameters:
      tokenSyncErrorCode - An error code as defined in TokenSyncErrorCode.
      errorMessage - A string describing the error that occurs.
  • Method Details

    • getErrorCode

      public TokenSyncErrorCode 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

      public String getMessage()
      Returns the detail message of the error.
      Returns:
      The error message.