wmJNI.c
throwWmServiceError


WmRecord *
throwWmServiceError(
      WmContext *con,
      jthrowable exc)
Throws a jthrowable object during service invocation and returns an error record.

Provides a thin wrapper over the Java API Servive.throwError(Throwable t). To better understand the function, please consult that API directly.

Parameters:
WmContext *con - WmContext created during service invocation.
jthrowable exc - Object needs to be thrown.
Returns:
WmRecord * - Error record.