From: david Date: Fri, 30 Jan 2004 07:42:16 +0000 (+0000) Subject: 2003/11/28 03:26:55 X-Git-Tag: RC3~304 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=2d8e96e82e4c281dd2914fd544b274339fd356d1 2003/11/28 03:26:55 darcs-hash:20040130074216-0c9ea-fe6affcf58d28a332e834fcdfd6236f708c08088.gz --- diff --git a/src/org/xwt/Scheduler.java b/src/org/xwt/Scheduler.java index 79fba3c..cecdee8 100644 --- a/src/org/xwt/Scheduler.java +++ b/src/org/xwt/Scheduler.java @@ -40,8 +40,9 @@ public class Scheduler { t.perform(); // FEATURE: be smarter about this Surface.renderAll(); + } catch (JSExn e) { + Log.log(Scheduler.class, e.toString()); } catch (Exception e) { - Log.log(Scheduler.class, "Task threw an exception: " + e); Log.log(Scheduler.class, e); } } diff --git a/src/org/xwt/js/Interpreter.java b/src/org/xwt/js/Interpreter.java index 5c7163b..0a0b27b 100644 --- a/src/org/xwt/js/Interpreter.java +++ b/src/org/xwt/js/Interpreter.java @@ -241,7 +241,7 @@ class Interpreter implements ByteCodes, Tokens { } Object ret = null; if (v == null) throw je("tried to get the null key from " + o); - if (o == null) throw je("tried to get property \"" + v + "\" from the null value @" + pc + "\n" + f.dump()); + if (o == null) throw je("tried to get property \"" + v + "\" from the null object"); if (o instanceof String || o instanceof Number || o instanceof Boolean) { ret = getFromPrimitive(o,v); stack.push(ret);