}
}
}
-
-/** should only be used for failed coercions */
-class JSRuntimeExn extends RuntimeException {
- private Object js = null;
- public JSRuntimeExn(Object js) { this.js = js; }
- public String toString() { return "JSRuntimeExn: " + js; }
- public String getMessage() { return toString(); }
- public Object getObject() { return js; }
-}
-