projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
acbf688
)
better error message whent can't coerce to string
author
tupshin
<tupshin@tupshin.com>
Tue, 2 Mar 2004 00:28:59 +0000
(
00:28
+0000)
committer
tupshin
<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
patch
|
blob
|
history
diff --git
a/src/org/ibex/js/JS.java
b/src/org/ibex/js/JS.java
index
9aa5606
..
de60d0c
100644
(file)
--- a/
src/org/ibex/js/JS.java
+++ b/
src/org/ibex/js/JS.java
@@
-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 ////////////////////////////////////////////////////////////////////