cciRethrowLastException

Rethrows the last exception generated on the current thread. It is used to pass the exception back to the message broker for further handling.

Syntax

void cciRethrowLastException(int* returnCode);

Parameters

returnCode
The return code from the function (output).

Return values

None. If an error occurs, the returnCode parameter indicates the reason for the error.

Example

 if (rc == CCI_EXCEPTION) {
      cciRethrowLastException(&rc);
    }

Related concepts
User-defined extensions

Related tasks
Creating an input node in C
Creating a message processing node in C
Creating a parser in C

Related reference
User-defined extensions
cciGetLastExceptionData
cciLog
cciThrowException