db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject Re: "throws TorqueException" in setter for referenced object by a foreign key
Date Fri, 01 Oct 2010 20:20:02 GMT
> On 01.10.10 21:31, Thomas Fischer wrote:
> > I intend to make this behaviour configurable using the option
> > torque.om.complexObjectModel.localFieldSetterException
> > If the default value is set to to TorqaueException, the behaviour of
3.3 is
> > retained.
> > But I'd rather set the default behaviour to not throwing an exception
> > because it forces the user to write unnecessary catch clauses for
> > exceptions which are never thrown. Any objections ?
> I don't think it is useful to retain a feature like that at all. Just
> drop the exception.

Hm, not so sure. Exception handling is a beast. Somebody may rely on it.
But on the other hand, people will complain if they do and we can always
re-add it then. I'll just drop it.



To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message