MathUtils round method should propagate rather than wrap Runitme exceptions
---------------------------------------------------------------------------

                 Key: MATH-555
                 URL: https://issues.apache.org/jira/browse/MATH-555
             Project: Commons Math
          Issue Type: Bug
            Reporter: Phil Steitz
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to