Propagate node.js exceptions into Java.