commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-176) [beanutils]: Exception if property doesn't exist in BeanUtilsBean.setProperty()
Date Wed, 15 Nov 2006 00:29:40 GMT
    [ 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


Mime
View raw message