Provides a thin wrapper over the Java API Servive.throwError(Throwable t). To better understand the function, please consult that API directly.
WmContext *con
- WmContext created during service invocation.
jthrowable exc
- Object needs to be thrown.
WmRecord *
- Error record.