* java/text/MessageFormat.java (scanFormat): Chain thrown exception.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93795
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-12-07 Mark Wielaard <mark@klomp.org>
+
+ * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
+
2005-01-15 Michael Koch <konqueror@gmx.de>
PR libgcj/19444
}
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.