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). The possible return code is CCI_NO_EXCEPTION_EXISTS

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