java.lang.Object
com.netcetera.threeds.sdk.api.transaction.challenge.ErrorMessage

public class ErrorMessage extends Object
Represents an error message that is returned by the ACS to the 3DS SDK or an error message that is generated by the 3DS SDK to be returned to the ACS.
  • Constructor Details

    • ErrorMessage

      public ErrorMessage(String transactionID, String errorCode, String errorDescription, String errorDetail, String errorComponent, String errorMessageType, String messageVersionNumber)
      Constructor.
      Parameters:
      transactionID - String Transaction ID.
      errorCode - String Error code.
      errorDescription - String Text describing the error.
      errorDetail - String Additional error details (not mandatory)
      errorComponent - String Additional error details
      errorMessageType - String Additional error details (not mandatory)
      messageVersionNumber - String Additional error details
  • Method Details

    • getTransactionID

      public String getTransactionID()
      Returns the Transaction ID.
      Returns:
      String
    • getErrorCode

      public String getErrorCode()
      Returns the error code.
      Returns:
      String
    • getErrorDescription

      public String getErrorDescription()
      Returns the error description.
      Returns:
      String
    • getErrorDetails

      public String getErrorDetails()
      Returns the error details.
      Returns:
      String
    • getErrorComponent

      public String getErrorComponent()
      Returns the error component that created the protocol error message.
      Returns:
      String
    • getErrorMessageType

      public String getErrorMessageType()
      Returns the error message type.
      Returns:
      String
    • getMessageVersionNumber

      public String getMessageVersionNumber()
      Returns the message/protocol version.
      Returns:
      String
    • toString

      public String toString()
      Overrides:
      toString in class Object