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] [Updated] (MATH-555) MathUtils round method should propagate rather than wrap Runitme exceptions
Date Mon, 04 Apr 2011 04:53:06 GMT

     [ https://issues.apache.org/jira/browse/MATH-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz updated MATH-555:
-----------------------------

    Affects Version/s: 2.0
                       2.1
                       2.2
        Fix Version/s: 3.0

> 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
>    Affects Versions: 2.0, 2.1, 2.2
>            Reporter: Phil Steitz
>            Priority: Minor
>             Fix For: 3.0
>
>
> 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