Class TokenSyncError


  • public class TokenSyncError
    extends java.lang.Object
    TokenSyncError provides the details of the error occurred during token sync process.
    Since:
    6.2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenSyncError​(TokenSyncErrorCode tokenSyncErrorCode, java.lang.String errorMessage)
      Constructor to create object of TokenSyncError.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TokenSyncErrorCode getErrorCode()
      Returns a code that can be associated with an error understood by the SDK.
      java.lang.String getMessage()
      Returns detail message for the error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TokenSyncError

        public TokenSyncError​(TokenSyncErrorCode tokenSyncErrorCode,
                              java.lang.String errorMessage)
        Constructor to create object of TokenSyncError.
        Parameters:
        tokenSyncErrorCode - error code as defined in TokenSyncErrorCode
        errorMessage - string describing the error that occurred
    • Method Detail

      • getErrorCode

        public TokenSyncErrorCode getErrorCode()
        Returns a code that can be associated with an error understood by the SDK. It is through this error code which will help the mobile wallet understand the root cause of token sync error.
        Returns:
        an error code of type TokenSyncErrorCode
      • getMessage

        public java.lang.String getMessage()
        Returns detail message for the error.
        Returns:
        The error message.