Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 62761 invoked from network); 14 Jul 2008 18:44:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jul 2008 18:44:56 -0000 Received: (qmail 92819 invoked by uid 500); 14 Jul 2008 18:44:53 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 92750 invoked by uid 500); 14 Jul 2008 18:44:52 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 92725 invoked by uid 99); 14 Jul 2008 18:44:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 11:44:52 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 18:44:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 00984234C164 for ; Mon, 14 Jul 2008 11:44:32 -0700 (PDT) Message-ID: <386961039.1216061072001.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 11:44:32 -0700 (PDT) From: "Clement Escoffier (JIRA)" To: dev@felix.apache.org Subject: [jira] Resolved: (FELIX-634) Improve error handling In-Reply-To: <1100392660.1216058911903.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clement Escoffier resolved FELIX-634. ------------------------------------- Resolution: Fixed Fix in the revision 676672. Catches Throwable when a POJO instance is created in order to catch "unexpected" errors. > Improve error handling > ---------------------- > > Key: FELIX-634 > URL: https://issues.apache.org/jira/browse/FELIX-634 > Project: Felix > Issue Type: Improvement > Components: iPOJO > Affects Versions: iPOJO-0.8.0 > Reporter: Clement Escoffier > Assignee: Clement Escoffier > Priority: Minor > Original Estimate: 0h > Remaining Estimate: 0h > > When a pojo creation failed, the error handling does not catch Error and RuntimeException. These potential issues must be catch in order to provide a useful message when they is error like NoClassDefFoundError or any other un-catched exception. This improvement affects both the pojo creation with class constructors and factory methods. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.