Re: [castor-dev] [JDO] ClassMolder/InstanceFactory should throw exceptions

2002-01-28 Thread Thomas Yip
TED]] >Sent: Monday, January 28, 2002 12:20 PM >To: [EMAIL PROTECTED] >Subject: [castor-dev] [JDO] ClassMolder/InstanceFactory should throw exceptions > >Someone from OpenEJB pointed out that the ClassMolder/InstanceFactory should >throw exceptions if something goes wrong and not ju

[castor-dev] [JDO] ClassMolder/InstanceFactory should throw exceptions

2002-01-28 Thread Alan Cabrera
Someone from OpenEJB pointed out that the ClassMolder/InstanceFactory should throw exceptions if something goes wrong and not just return null, as it currently does. I agree. I was thinking that it should throw a DataObjectNotInstantiableException. Thoughts? I can send a patch and new unit tes