mirror of git://gcc.gnu.org/git/gcc.git
MessageFormat.java (scanFormat): Chain thrown exception.
2004-12-07 Mark Wielaard <mark@klomp.org> * java/text/MessageFormat.java (scanFormat): Chain thrown exception. From-SVN: r93795
This commit is contained in:
parent
c625c898d1
commit
dbc522ef39
|
|
@ -1,3 +1,7 @@
|
||||||
|
2004-12-07 Mark Wielaard <mark@klomp.org>
|
||||||
|
|
||||||
|
* java/text/MessageFormat.java (scanFormat): Chain thrown exception.
|
||||||
|
|
||||||
2005-01-15 Michael Koch <konqueror@gmx.de>
|
2005-01-15 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
PR libgcj/19444
|
PR libgcj/19444
|
||||||
|
|
|
||||||
|
|
@ -283,7 +283,9 @@ public class MessageFormat extends Format
|
||||||
}
|
}
|
||||||
catch (NumberFormatException nfx)
|
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.
|
// Extract the element format.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue