2003/11/28 03:26:55
authordavid <david@xwt.org>
Fri, 30 Jan 2004 07:42:16 +0000 (07:42 +0000)
committerdavid <david@xwt.org>
Fri, 30 Jan 2004 07:42:16 +0000 (07:42 +0000)
darcs-hash:20040130074216-0c9ea-fe6affcf58d28a332e834fcdfd6236f708c08088.gz

src/org/xwt/Scheduler.java
src/org/xwt/js/Interpreter.java

index 79fba3c..cecdee8 100644 (file)
@@ -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);
             }
         }
index 5c7163b..0a0b27b 100644 (file)
@@ -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);