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() +")");
}