commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcna...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jdbc2pool/src/java/org/apache/commons/jdbc2pool ConnectionPool.java
Date Tue, 21 May 2002 19:42:48 GMT
jmcnally    02/05/21 12:42:47

  Modified:    jdbc2pool/src/java/org/apache/commons/jdbc2pool
                        ConnectionPool.java
  Log:
  debugging fix and don't eat exceptions
  
  Revision  Changes    Path
  1.6       +2 -3      jakarta-commons-sandbox/jdbc2pool/src/java/org/apache/commons/jdbc2pool/ConnectionPool.java
  
  Index: ConnectionPool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jdbc2pool/src/java/org/apache/commons/jdbc2pool/ConnectionPool.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ConnectionPool.java	20 May 2002 00:07:54 -0000	1.5
  +++ ConnectionPool.java	21 May 2002 19:42:47 -0000	1.6
  @@ -80,7 +80,7 @@
    * @author <a href="mailto:magnus@handtolvur.is">Magnús Þór Torfason</a>
    * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
    * @author <a href="mailto:jmcnally@collab.net">John McNally</a>
  - * @version $Id: ConnectionPool.java,v 1.5 2002/05/20 00:07:54 jmcnally Exp $
  + * @version $Id: ConnectionPool.java,v 1.6 2002/05/21 19:42:47 jmcnally Exp $
    */
   class ConnectionPool
       implements ConnectionEventListener
  @@ -246,7 +246,7 @@
               }
               catch (Exception e)
               {
  -                // ignore for now, should wrap in SQLException 
  +                throw new SQLException(e.getMessage());
               }
           }
           return pcon;
  @@ -499,7 +499,6 @@
        */
       public void connectionClosed(ConnectionEvent event) 
       {
  -        System.out.println("connectionClosed event caught");
           releaseConnection( (PooledConnection)event.getSource());
       }
   
  
  
  

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


Mime
View raw message