Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
3.8.1
-
None
Description
The method description states that NumberFormatException is thrown if value is out of the Decimal128 range:
However, later on when it's checking for exponent is throwing AssertionError
Need to throw NumberFormatException as similarly performed in clampAndRound() method ?
Attachments
Issue Links
- duplicates
-
JAVA-2937 Decimal128 throws AssertionError instead of NumberFormatException
-
- Closed
-