better error message whent can't coerce to string
authortupshin <tupshin@tupshin.com>
Tue, 2 Mar 2004 00:28:59 +0000 (00:28 +0000)
committertupshin <tupshin@tupshin.com>
Tue, 2 Mar 2004 00:28:59 +0000 (00:28 +0000)
darcs-hash:20040302002859-a9258-6c0dd6bb6c04e6f98ce2cd215bb4cdcc44eade81.gz

src/org/ibex/js/JS.java

index 9aa5606..de60d0c 100644 (file)
@@ -132,7 +132,7 @@ public class JS extends org.ibex.util.BalancedTree {
             if((int)d == d) return Integer.toString((int)d);
             return o.toString();
         }
-        throw new RuntimeException("can't coerce "+o+" [" + o.getClass().getName() + "]");
+        throw new RuntimeException("can't coerce "+o+" [" + o.getClass().getName() + "] to type String.");
     }
 
     // Instance Methods ////////////////////////////////////////////////////////////////////