We had a big discussion on this a little while ago. Having it through
TorqueException then prevents users from implementing an interface that
has save throws ThisOtherException. Case in point, Fulcrum, which is one
of Torque's "official" users if there is such a thing.

The basic conclusion was to switch everything over to
TorqueRuntimeException, as it would have the same effect as
TorqueException but the freeness of Exception.

We just haven't gotten to implementing it yet.

- Stephen

> -----Original Message-----
> From: Paul Hammant [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 5:46 AM
> To: Turbine Torque Developers List
> Subject: save() throws Exception?
> 
> Folks,
> 
> There is a typo in the generated save() method ....
> 
>     public void save() throws Exception;
>     public void save(String dbName) throws TorqueException;
> 
> ... it should throw TorqueException like the second method rather than
Exception.
> 
> - Paul
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-torque-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-torque-dev-
> [EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to