Use cciThrowException 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 BIPv600 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.