Use this function to throw an exception. The exception is thrown by the broker interface, and includes the specified arguments as exception data.
void cciThrowException(
int* returnCode,
CCI_EXCEPTION_TYPE type,
char* file,
int line,
char* function,
CciChar* messageSource,
int messageNumber,
char* traceText,
...);
To use the current broker message catalog, specify BIPmsgs on all operating systems. Alternatively, you can create your own message catalog.
char* characters must be strings in either ASCII (Latin) or EBCDIC (1047).
The last argument in this list must be (char*)0.
None. If an error occurs, the returnCode parameter indicates the reason for the error.