commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17635] New: - PoolableConnectionFactory-Construction declared to throw Exception
Date Tue, 04 Mar 2003 14:32:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17635>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17635

PoolableConnectionFactory-Construction declared to throw Exception

           Summary: PoolableConnectionFactory-Construction declared to throw
                    Exception
           Product: Commons
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: tkl@telenet.ch


The constructor "public PoolableConnectionFactory(ConnectionFactory connFactory, 
ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, 
boolean defaultReadOnly, boolean defaultAutoCommit)" is declared that it may 
throw an exception.




However the constructor code *never* throws any checked exceptions so this 
throws-declartion should be removed (like the second constructor with an 
additional parameter).




This change is completely backwards compatible (ie existing source code 
continues to compile)

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message