You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Quinton McCombs <qm...@nequalsone.com> on 2002/12/02 21:44:05 UTC

[SOURCE] Issue #TRQS88 - Torque.getConnection() declares too many exceptions in throw...

You can view the issue detail at the following URL:
<http://scarab.werken.com/scarab/issues/id/TRQS88>

Type :        Defect
Issue Id :    TRQS88
Reported by: Quinton McCombs
             quintonm - (qmccombs@nequalsone.com)

Details:

Summary: Torque.getConnection() declares too many exceptions in throws clause
Description: Torque.getConnection() declares that it could throw TorqueExcepion, SQLException, and javax.naming.NamingException.  However, this method calls Torque.getConnection(String) which only declared TorqueException in its throws clause.

It looks like a simple mistake.  I am attaching a patch to the issue to remove the extra exceptions from the throws clause of getConnection().
Status: New