commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Field-Elliot <>
Subject Re: [BeanUtils] Added Initial DynaBeans Support
Date Wed, 09 Jan 2002 21:01:31 GMT
On Wed, 2002-01-09 at 13:02, Craig R. McClanahan wrote: 

    Although I've added some simple unit test cases (based on the
    ones for standard JavaBeans), it would be really useful if some more
    tried out DynaBeans in the real world, and provided some feedback
    we lock down the APIs for them.

The DynaBean set() methods do not throw any exceptions. This makes it
hard (in fact, impossible) for me to layer any exception semantics on
top of the base implementation. For example, in my own implementation
(which "extends BasicDynaBean", but could just as easily be a class
which "implements DynaBean"), I can't enforce a read-only semantic by
way of throwing an exception. Right now, I'm just returning without any
action taken. Kind of silly. 



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message