Previous Topic: Risk Evaluation Server ExceptionsNext Topic: RiskMinder Server Response Codes


Risk Evaluation SDK Exceptions

The RiskMinder Risk Evaluation SDK throws RFSDKException, if the incoming configuration information used by the SDK is not correct, and as a result, if a related operation might fail. This exception class also relays Server errors to your application.

The getResponseCode() function of the RFSDKException class returns the string value corresponding to the type of error. If the exception was generated at the Server-end, then the getTransactionId() method returns the Server-generated transaction ID for which the error occurred.

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

Response Code

Value

Description

BUILDRESPONSE_ERROR

7016

The SDK encountered an error while interpreting the response XML from the Server.

CONFIGURATION_INVALID_POOL

7010

The connection to RiskMinder Server could not be established.

CONFIGURATION_NOT_AVAILABLE

7009

The configuration keys of properties that are used for configuring the API could not be read correctly from the properties file.

ENCODING_NOT_SUPPORTED

7014

The response that the SDK received from the Server contains encoding that is not supported.

ERROR_PARSING_DATA

7006

The SDK could not parse the response from the Server.

INTERNAL_ERROR

7002

The error was caused due to an internal SDK error.

INVALID_ADVICE_CODE

7019

The Advice code passed to postevaluate() is not valid.

INVALID_INPUT_PARAMETERS

7005

The value of the parameter passed to the API is invalid.

INVALID_MESSAGE_TYPE

7021

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

INVALID_PACKET_FROM_SERVER

7003

The Server packet is either malformed or is corrupted.

MISSING_INPUT_PARAMETERS

7013

One or more mandatory parameters needed by the API are missing.

RISKXACTIONAPI_ALREADY_INITIALIZED

7008

The RiskXActionAPI interface has already been initialized by the Server.

RISKXACTIONAPI_INITIALIZATION_
FAILURE

7023

The RiskXActionAPI interface could not be successfully initialized.

RISKXACTIONAPI_NOT_INITIALIZED

7007

The RiskXActionAPI interface has not yet been initialized by the Server.

SUCCESS

7000

The operation was successful.

TCP_COMMUNICATION_ERROR

7011

A (TCP-based) communication error occurred between the SDK and the Server.

TCP_CONNECTION_ERROR

7012

The SDK could not establish a (TCP-based) connection to RiskMinder Server.

USER_RECORD_NOT_FOUND

7018

The specified user information was not found in the RiskMinder database.

XML_PARSE_ERROR

7020

One or more XML parameters are either incomplete or are missing.