Todd Carmichael wrote:
[Interface org.apache.torque.dsfactory.DataSourceFactory.getDataSource throws TorqueException.]
However implementation of DataSourceFactory by
org.apache.torque.dsfactory.SharedPoolDataSourceFactory does NOT throw
TorqueException.  For one, it seems very odd that this is not an error by
> Java.

Java does not require methods to declare all of the possible exceptions mentioned by the interface their class implements.

I would say this is a bug and SharedPoolDataSourceFactory should be
marked as throwing a TorqueException.

Why? The implementation doesn't throw TorqueException, does it?



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



Reply via email to