2003/11/25 09:59:16
[org.ibex.core.git] / src / org / xwt / js / JS.java
index 5ade735..3632250 100644 (file)
@@ -184,9 +184,9 @@ public class JS {
     public static final Object METHOD = new Object();
     public Object callMethod(Object method, Object a0, Object a1, Object a2, Object[] rest, int nargs) {
         throw new JSExn("attempted to call the null value (method "+method+")");
-    }
+    }    
     public Object call(Object a0, Object a1, Object a2, Object[] rest, int nargs) {
-        throw new JSExn("you cannot call this object)");
+        throw new JSExn("you cannot call this object (class=" + this.getClass().getName() +")");
     }