[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: improved MessageFormat exception message
Kaffe CVS
cvs-commits at kaffe.org
Fri Dec 10 15:20:21 PST 2004
PatchSet 5601
Date: 2004/12/10 23:16:02
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU Classpath: improved MessageFormat exception message
2004-12-10 Dalibor Topic <robilad at kaffe.org>
* libraries/javalib/java/text/MessageFormat.java:
Resynced with GNU Classpath.
2004-12-07 Mark Wielaard <mark at klomp.org>
* java/text/MessageFormat.java (scanFormat): Chain thrown exception.
Members:
ChangeLog:1.3146->1.3147
libraries/javalib/java/text/MessageFormat.java:1.32->1.33
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3146 kaffe/ChangeLog:1.3147
--- kaffe/ChangeLog:1.3146 Fri Dec 10 22:46:25 2004
+++ kaffe/ChangeLog Fri Dec 10 23:16:02 2004
@@ -1,5 +1,14 @@
2004-12-10 Dalibor Topic <robilad at kaffe.org>
+ * libraries/javalib/java/text/MessageFormat.java:
+ Resynced with GNU Classpath.
+
+ 2004-12-07 Mark Wielaard <mark at klomp.org>
+
+ * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
+
+2004-12-10 Dalibor Topic <robilad at kaffe.org>
+
* libraries/javalib/Makefile.am.in (all-am): Moved Adam's fix for broken
rebuildLib invocation here.
(KAFFELIBRARYPATH): Added classpath native library.
Index: kaffe/libraries/javalib/java/text/MessageFormat.java
diff -u kaffe/libraries/javalib/java/text/MessageFormat.java:1.32 kaffe/libraries/javalib/java/text/MessageFormat.java:1.33
--- kaffe/libraries/javalib/java/text/MessageFormat.java:1.32 Wed Nov 24 03:20:43 2004
+++ kaffe/libraries/javalib/java/text/MessageFormat.java Fri Dec 10 23:16:05 2004
@@ -283,7 +283,9 @@
}
catch (NumberFormatException nfx)
{
- throw new IllegalArgumentException("Failed to parse integer string");
+ IllegalArgumentException iae = new IllegalArgumentException(pat);
+ iae.initCause(nfx);
+ throw iae;
}
// Extract the element format.
More information about the kaffe
mailing list