Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0, 2.1, 2.2
-
None
-
None
Description
MathUtils.round(double, int, int) can generate IllegalArgumentException or ArithmeticException. Instead of wrapping these exceptions in MathRuntimeException, the conditions under which these exceptions can be thrown should be documented and the exceptions should be propagated directly to the caller.