db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: "throws TorqueException" in setter for referenced object by a foreign key
Date Fri, 01 Oct 2010 19:56:41 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.

Bye, Thomas.

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

View raw message