Well, we have no code to handle such situation. I think you can throws RuntimeException is a good idea for now, until we figure out that we should actually do something.
However, I see it as very low priority. Thomas -----Original Message----- >From: Alan Cabrera [mailto:[EMAIL PROTECTED]] >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 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 tests for this. > > >Regards, >Alan > >----------------------------------------------------------- >If you wish to unsubscribe from this mailing, send mail to >[EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
