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
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
||||
PR libgcj/19444
|
||||
|
|
|
@ -283,7 +283,9 @@ public class MessageFormat extends Format
|
|||
}
|
||||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue