A developer on our team just introduced a new set of classes the project
that throw an exception from the constructor.
The classes follow the Value Object pattern so they're just data containers.
The exception is thrown if a null value is passed in.

This seems like a really bad idea to me with no inherent benefit but the
developer is holding fast to his implementation.
Are there any philosophies out there on this subject?

Thanks!


____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to