Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 17728 invoked from network); 15 Nov 2006 00:30:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 00:30:07 -0000 Received: (qmail 34709 invoked by uid 500); 15 Nov 2006 00:30:12 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 34628 invoked by uid 500); 15 Nov 2006 00:30:12 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 34609 invoked by uid 99); 15 Nov 2006 00:30:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 16:30:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 16:30:00 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 673467142FE for ; Tue, 14 Nov 2006 16:29:40 -0800 (PST) Message-ID: <13138396.1163550580420.JavaMail.jira@brutus> Date: Tue, 14 Nov 2006 16:29:40 -0800 (PST) From: "Henri Yandell (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (BEANUTILS-176) [beanutils]: Exception if property doesn't exist in BeanUtilsBean.setProperty() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/BEANUTILS-176?page=comments#action_12449872 ] Henri Yandell commented on BEANUTILS-176: ----------------------------------------- Personally I think it should throw an exception if there's a problem - not need a parameter to turn that feature on. Backwards compat etc I know.... so maybe the solution would be to add a BeanUtilsBean.setErrorPolicy(..) or whatever the flag would be called. > [beanutils]: Exception if property doesn't exist in BeanUtilsBean.setProperty() > ------------------------------------------------------------------------------- > > Key: BEANUTILS-176 > URL: http://issues.apache.org/jira/browse/BEANUTILS-176 > Project: Commons BeanUtils > Issue Type: Improvement > Components: Bean / Property Utils > Environment: Operating System: other > Platform: Other > Reporter: Lars Beuster > Priority: Minor > Fix For: 1.8.0 > > > I'd like a have an exception thrown if I use > BeanUilsBean.setProperty()/populate()/... with an invalid property name, so that > I can see immediately if I've done something wrong. > An optional boolean parameter for these methods would be nice. > Thanks > Lars -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org