Update of /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv28051
Modified Files:
ConnectionPool.java
Log Message:
Smarter throwing of caught SQLExceptions without wrapping them up inside another (and losing the stack trace)
Index: ConnectionPool.java
===================================================================
RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/ConnectionPool.java,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** ConnectionPool.java 20 Sep 2003 17:04:06 -0000 1.68
--- ConnectionPool.java 30 Sep 2003 07:50:04 -0000 1.69
***************
*** 212,215 ****
--- 212,218 ----
proxyConnection = PrototyperController.buildConnection(
getDefinition().getAlias(), ProxyConnection.STATUS_ACTIVE, "on demand");
+ } catch (SQLException e) {
+ log.debug("Couldn't get connection", e);
+ throw e;
} catch (ProxoolException e) {
log.debug("Couldn't get connection", e);
***************
*** 1046,1049 ****
--- 1049,1055 ----
Revision history:
$Log$
+ Revision 1.69 2003/09/30 07:50:04 billhorsman
+ Smarter throwing of caught SQLExceptions without wrapping them up inside another (and losing the stack trace)
+
Revision 1.68 2003/09/20 17:04:06 billhorsman
Fix for incorrect OFFLINE count when house keeper removed a connection if the test SQL failed. This
|