Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 69252 invoked from network); 18 Nov 2010 19:36:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 19:36:10 -0000 Received: (qmail 57324 invoked by uid 500); 18 Nov 2010 19:36:38 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 57265 invoked by uid 500); 18 Nov 2010 19:36:37 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 57230 invoked by uid 99); 18 Nov 2010 19:36:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 19:36:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 19:36:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAIJaEt5026643 for ; Thu, 18 Nov 2010 19:36:14 GMT Message-ID: <25104436.180671290108974100.JavaMail.jira@thor> Date: Thu, 18 Nov 2010 14:36:14 -0500 (EST) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (MATH-443) Incorrect exception specification in AbstractLeastSquaresOptimizer.optimize() In-Reply-To: <19181966.173531290078033773.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933535#action_12933535 ] 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: https://issues.apache.org/jira/browse/MATH-443 > 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.