Skip to content
Snippets Groups Projects
Commit 71cb54a6 authored by tromey's avatar tromey
Browse files

2004-12-07 Mark Wielaard <mark@klomp.org>

	* 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
parent b753e47b
No related merge requests found
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 ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment