com.apama.ccyconverter
Event ErrorConsts


The Consts event object contains a set of constants that are used for the generic error handling in the Currency Converter. These constants should be used rather than the specific value in order to ensure future compatibility.
Constant Summary
 constant stringCALLBACK_ID := "CALLBACK_ID"

This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the identifier of the callback that was registered with the Currency Converter.
 constant stringCURRENCY_CONVERTER_NAME := "CURRENCY_CONVERTER_NAME"

This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the name of the Currency Converter.
 constant integerEXTENSION_EXCEPTION := 8

This constant value defines the error type that is used when an exception from the extension is caught.
 constant integerFAILED_TO_CONNECT_TO_CURRENCY_CONVERTER := 9

This constant value defines the error type that is used when an error occurs whilst connecting to the Currency Converter.
 constant integerFAILED_TO_CREATE_CURRENCY_CONVERTER_INTERFACE := 1

This constant value defines the error type that is used when an error occurs whilst creating the Currency Converter.
 constant integerFAILED_TO_REMOVE_ERROR_CALLBACK := 2

This constant value defines the error type that is used when an error occurs whilst removing an error callback from the Currency Converter.
 constant integerFAILED_TO_REMOVE_UPDATE_CALLBACK := 3

This constant value defines the error type that is used when an error occurs whilst removing an update callback from the Currency Converter.
 constant integerFAILED_TO_SET_CURRENCY_CONVERTER_CONFIG := 10

This constant value defines the error type that is used when the application attempts to modify the Currency Converter configuration from a remotely connected interface.
 constant stringFIELD_NAME := "FIELD_NAME"

This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the field name that caused the error.
 constant integerFIELD_VALUE_NOT_UPDATED := 11

This constant value defines the error type that is used when the user tried to update a field value from a remote interface.
 constant integerINVALID_PARAMETER := 7

This constant value defines the error type that is used when an invlid parameter format is provided.
 constant integerNO_ERROR := 0

This constant value indicates that there was no error.
 constant stringPARAMETER := "PARAMETER"

This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the parameter that caused the error.
 constant stringSYMBOL := "SYMBOL"

This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the symbol that caused the error.
 constant integerTABLE_NOT_AVAILABLE := 6

This constant value defines the error type that is used when an configuration table is not yet available.
 constant integerUNKNOWN_FIELD_NAME := 5

This constant value defines the error type that is used when an unknown field name is provided to an action.
 constant integerUNKNOWN_SYMBOL := 4

This constant value defines the error type that is used when an unknown symbol is provided to an action.
 
Constant Detail

CALLBACK_ID

constant string CALLBACK_ID := "CALLBACK_ID"
This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the identifier of the callback that was registered with the Currency Converter.

CURRENCY_CONVERTER_NAME

constant string CURRENCY_CONVERTER_NAME := "CURRENCY_CONVERTER_NAME"
This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the name of the Currency Converter.

EXTENSION_EXCEPTION

constant integer EXTENSION_EXCEPTION := 8
This constant value defines the error type that is used when an exception from the extension is caught.

FAILED_TO_CONNECT_TO_CURRENCY_CONVERTER

constant integer FAILED_TO_CONNECT_TO_CURRENCY_CONVERTER := 9
This constant value defines the error type that is used when an error occurs whilst connecting to the Currency Converter.

FAILED_TO_CREATE_CURRENCY_CONVERTER_INTERFACE

constant integer FAILED_TO_CREATE_CURRENCY_CONVERTER_INTERFACE := 1
This constant value defines the error type that is used when an error occurs whilst creating the Currency Converter.

FAILED_TO_REMOVE_ERROR_CALLBACK

constant integer FAILED_TO_REMOVE_ERROR_CALLBACK := 2
This constant value defines the error type that is used when an error occurs whilst removing an error callback from the Currency Converter.

FAILED_TO_REMOVE_UPDATE_CALLBACK

constant integer FAILED_TO_REMOVE_UPDATE_CALLBACK := 3
This constant value defines the error type that is used when an error occurs whilst removing an update callback from the Currency Converter.

FAILED_TO_SET_CURRENCY_CONVERTER_CONFIG

constant integer FAILED_TO_SET_CURRENCY_CONVERTER_CONFIG := 10
This constant value defines the error type that is used when the application attempts to modify the Currency Converter configuration from a remotely connected interface.

FIELD_NAME

constant string FIELD_NAME := "FIELD_NAME"
This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the field name that caused the error.

FIELD_VALUE_NOT_UPDATED

constant integer FIELD_VALUE_NOT_UPDATED := 11
This constant value defines the error type that is used when the user tried to update a field value from a remote interface.

INVALID_PARAMETER

constant integer INVALID_PARAMETER := 7
This constant value defines the error type that is used when an invlid parameter format is provided.

NO_ERROR

constant integer NO_ERROR := 0
This constant value indicates that there was no error.

PARAMETER

constant string PARAMETER := "PARAMETER"
This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the parameter that caused the error.

SYMBOL

constant string SYMBOL := "SYMBOL"
This constant value defines the error key name that is used in the error params when an error occurs. This indicates the value will be the symbol that caused the error.

TABLE_NOT_AVAILABLE

constant integer TABLE_NOT_AVAILABLE := 6
This constant value defines the error type that is used when an configuration table is not yet available.

UNKNOWN_FIELD_NAME

constant integer UNKNOWN_FIELD_NAME := 5
This constant value defines the error type that is used when an unknown field name is provided to an action.

UNKNOWN_SYMBOL

constant integer UNKNOWN_SYMBOL := 4
This constant value defines the error type that is used when an unknown symbol is provided to an action.