throws NodeExitException
{
ProcessImpl self = (ProcessImpl)thisObj;
if (args.length >= 1) {
int code = (Integer)Context.jsToJava(args[0], Integer.class);
throw new NodeExitException(NodeExitException.Reason.NORMAL, code);
} else {
throw new NodeExitException(NodeExitException.Reason.NORMAL, 0);
}
}