> When torque generates set methods for foreign keys, the methods thorws a
> TorqueException.
>
> Why is this? There is nothing in the methods that throws a
TorqueException
> and removing the throws clause does not generate a compiler error.
Maybe it is generated for overriding. Someone who wants to override the
method maybe wants to throw a TorqueException, so one has to declare it in
the base class.
But I'm not sure about this, there might also be a special case where it is
needed, but I do not know any.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
|