} else {
return (T) handler.getJavaScriptObjectFromValue(
returnMessage.getReturnValue());
}
}
}).<T>run(new InvokeFromClientMessage(dispId, thisObj, argList));
} catch (Exception e) {
handler.getLog().error("Error: %s", JavaScriptUtils.
appendException(e, new StringBuilder()));
Process.get().exit();
//throw new RuntimeException(e);