cciThrowException
Use this function to throw an exception. The exception is thrown by the integration node interface, and includes the specified arguments as exception data.
Using this function
The function, like a C exit call, does not return to the caller. It can throw C++ exceptions. When you use C++ to implement a user-defined extension, you must consider certain caveats. For more information, see Which language to use to implement a user-defined extension.
Syntax
void cciThrowException(
int* returnCode,
CCI_EXCEPTION_TYPE type,
char* file,
int line,
char* function,
CciChar* messageSource,
int messageNumber,
char* traceText,
...);
Parameters
Return values
None. If an error occurs, the returnCode parameter indicates the reason for the error.