Previous Topic: RiskMinder SDK ExceptionsNext Topic: Risk Evaluation SDK Exceptions


Risk Evaluation Server Exceptions

The RiskMinder Risk Evaluation API throws the RiskException, if a Server operation failed. The getResponseCode() function of the RiskException class returns the string value corresponding to the type of error, the getTransactionId() method returns the Server-generated transaction ID for which the error occurred, and the getReasonCode() method returns the Server's TransactionID for the transaction, if one is provided.

The possible RiskException errors, their corresponding values, and descriptions are listed in the following table.

Response Code

Value

Description

INVALID_MESSAGE_TYPE

7021

The API identifier (message type) in the response sent from the Server is not valid. The packet might be corrupted.