Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 98643 invoked from network); 14 Nov 2010 22:01:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Nov 2010 22:01:08 -0000 Received: (qmail 84796 invoked by uid 500); 14 Nov 2010 22:01:38 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 84726 invoked by uid 500); 14 Nov 2010 22:01:38 -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 84718 invoked by uid 99); 14 Nov 2010 22:01:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Nov 2010 22:01:38 +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; Sun, 14 Nov 2010 22:01:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAEM1DC5025600 for ; Sun, 14 Nov 2010 22:01:14 GMT Message-ID: <19409576.73411289772073922.JavaMail.jira@thor> Date: Sun, 14 Nov 2010 17:01:13 -0500 (EST) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (MATH-440) Introducing a "UserException" class In-Reply-To: <317969.46311289572275366.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-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931902#action_12931902 ] Luc Maisonobe commented on MATH-440: ------------------------------------ Yes, this is exactly what I understood and this is what bothers me: we add a generic part to a user exception and the user as absolutely no way to prevent us from doing so. If the user does not want the generic part, he simply cannot have what he wants. What about providing two constructors then ? I can write the explanations for both. > Introducing a "UserException" class > ----------------------------------- > > Key: MATH-440 > URL: https://issues.apache.org/jira/browse/MATH-440 > Project: Commons Math > Issue Type: Improvement > Reporter: Gilles > Assignee: Gilles > Priority: Minor > Fix For: 2.2 > > > After a discussion in MATH-425, it was concluded that a new "UserException" could be created and advertised as a privileged channel to convey failure information through the CM code layer. > The usage of this exception is the same as the one intended for the current {{FunctionEvaluationException}}, {{MatrixVisitorException}} and {{DerivativeException}}, so those classes will be deprecated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.