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

Gilles Sadowski resolved MATH-1584.
-----------------------------------
    Resolution: Done

Commit 23c029484fab88efe274fe409234e572741a876f (in "modularized_master" 
branch).

> Move "MathUtils.check..." functions to associated exception class
> -----------------------------------------------------------------
>
>                 Key: MATH-1584
>                 URL: https://issues.apache.org/jira/browse/MATH-1584
>             Project: Commons Math
>          Issue Type: Task
>            Reporter: Gilles Sadowski
>            Assignee: Gilles Sadowski
>            Priority: Trivial
>             Fix For: 4.0
>
>
> Instead of
> {code:java}
> MathUtils.checkFinite(x);
> {code}
> we'll have
> {code:java}
> NotFiniteNumberException.check(x);
> {code}
> that self-documents which exception is raised when the forbidden condition is 
> matched.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to