commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <>
Subject [jira] Commented: (MATH-443) Incorrect exception specification in AbstractLeastSquaresOptimizer.optimize()
Date Thu, 18 Nov 2010 19:36:14 GMT


Luc Maisonobe commented on MATH-443:

The exception hierarchy is currently completely overhauled, many exceptions have disappeared
and a bunch of new exceptions have been created, many of them being unchecked exceptions.
The method you cite now throws only unchecked exceptions.
Could you have a look at the subversion repository and see if either the 2.X branch or the
trunk (which is used for work on 3.0 version) do fit your needs ?
Any comments on this ongoing work before we release it is welcome.

> Incorrect exception specification in AbstractLeastSquaresOptimizer.optimize()
> -----------------------------------------------------------------------------
>                 Key: MATH-443
>                 URL:
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.0, 2.1
>            Reporter: Roman Werpachowski
>            Priority: Minor
> AbstractLeastSquaresOptimizer.optimize() declares the following exceptions: FunctionEvaluationException,
OptimizationException, IllegalArgumentException. However, it also throws MaxIterationsExceededException.
I think that instead of OptimizationException, ConvergenceException should be declared.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message