wmJNI.c
throwWmServiceErrorMsg


WmRecord *
throwWmServiceErrorMsg(
      WmContext *con,
      const char *msg)
Throws an error message during service invocation and returns an error record.

Provides a thin wrapper over the Java API Service.throwError(String msg). To better understand the function, please consult that API directly.

Parameters:
WmContext *con - WmContext created during service invocation.
const char *msg - Error message needs to be throwed.
Returns:
WmRecord * - Error record.