[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
