commons-dev mailing list archives

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message