propose-patch
[org.ibex.core.git] / src / org / xwt / js / JSExn.java
index b3bfb98..df1022e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL] 
+// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL] 
 package org.xwt.js; 
 
 import org.xwt.util.*; 
@@ -11,7 +11,7 @@ public class JSExn extends Exception {
     private Vec backtrace = new Vec();
     private Object js = null; 
     public JSExn(Object js) { this.js = js; } 
-    public String toString() { return "JSExn: " + JS.toString(js); }
+    public String toString() { return "JSExn: " + js; }
     public String getMessage() { return toString(); }
     public Object getObject() { return js; } 
     public void addBacktrace(String sourceName, int lineNo) { backtrace.addElement(sourceName + ":" + lineNo); }