- if (e instanceof EcmaError) Log.log(HTTP.class, ((EcmaError)e).getMessage() + " at " +
- ((EcmaError)e).getSourceName() + ":" + ((EcmaError)e).getLineNumber());
- else if (e instanceof JS.Exn) {
- try {
- XWT.recursivePrintObject.call(Context.enter(), null, null, new Object[] {
- ((JS.Exn)e).getValue() });
- } catch (Exception e2) {
- Log.log(Platform.class, e);
- }
- }
+ if (e instanceof JS.Exn) {
+ try {
+ org.xwt.js.JS.Array arr = new org.xwt.js.JS.Array();
+ arr.addElement(((JS.Exn)e).getObject());
+ // FIXME
+ //XWT.recursivePrintObject.call();
+ } catch (Exception e2) {
+ Log.log(Platform.class, e);
+ }
+ }