}
} catch (RuntimeException e) {
// FIXME: maybe JSExn should take a second argument, Exception
- Log.log(this, "xwt."+name+"() threw: "+e);
+ Log.info(this, "xwt."+name+"() threw: "+e);
throw new JSExn("invalid argument for xwt object method "+name+"()");
}
} catch (XML.Exn e) {
throw new JSExn("error parsing XML: " + e.toString());
} catch (IOException e) {
- if (Log.on) Log.log(this, "IO Exception while reading from file");
- if (Log.on) Log.log(this, e);
+ if (Log.on) Log.info(this, "IO Exception while reading from file");
+ if (Log.on) Log.info(this, e);
throw new JSExn("error reading from Resource");
}
return obStack.size() >= 1 ? (JS)obStack.elementAt(0) : null;