commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-555) MathUtils round method should propagate rather than wrap Runitme exceptions
Date Mon, 04 Apr 2011 04:14:05 GMT
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

Mime
View raw message