db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinton McCombs <qmcco...@nequalsone.com>
Subject [SOURCE] Issue #TRQS88 - Torque.getConnection() declares too many exceptions in throw...
Date Mon, 02 Dec 2002 20:44:05 GMT
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


Mime
View raw message