Provides a thin wrapper over the Java API Service.throwError(String msg). To better understand the function, please consult that API directly.
WmContext *con
- WmContext created during service invocation.
const char *msg
- Error message needs to be throwed.
WmRecord *
- Error record.