MarcoGervasoni / gwt-math

Automatically exported from code.google.com/p/gwt-math
0 stars 0 forks source link

Constructor should throw NumberFormatException, not IllegalArgumentException #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Construct a BigDecimal with the string 'abc'
2.
3.

What is the expected output? What do you see instead?
Should throw NumberFormatException (as in JDK version of BigDecimal),
actually throws IllegalArgumentException

What version of the product are you using? On what operating system?
2.0.3/Ubuntu Linux

Please provide any additional information below.

Original issue reported on code.google.com by mark.web...@gmail.com on 17 Mar 2009 at 11:21

GoogleCodeExporter commented 9 years ago
Fixed in 2.1

Original comment by marco.ge...@gmail.com on 6 Aug 2009 at 9:48