-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.8.1
-
Component/s: Error Handling
-
None
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 ?
- duplicates
-
JAVA-2937 Decimal128 throws AssertionError instead of NumberFormatException
- Closed