[jboss-cvs] JBossAS SVN: r86985 - branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Apr 8 15:37:29 EDT 2009
Author: jesper.pedersen
Date: 2009-04-08 15:37:29 -0400 (Wed, 08 Apr 2009)
New Revision: 86985
Modified:
branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager/BaseConnectionManager2.java
Log:
[JBAS-6752] Include the datasource name when the connection manager reports a ResourceException
Modified: branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager/BaseConnectionManager2.java
===================================================================
--- branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager/BaseConnectionManager2.java 2009-04-08 19:32:11 UTC (rev 86984)
+++ branches/Branch_5_x/connector/src/main/org/jboss/resource/connectionmanager/BaseConnectionManager2.java 2009-04-08 19:37:29 UTC (rev 86985)
@@ -438,7 +438,7 @@
}
// If we get here all retries failed, throw the lastest failure
- throw failure;
+ throw new ResourceException("Unable to get managed connection for " + jndiName, failure);
}
public void returnManagedConnection(ConnectionListener cl, boolean kill)
More information about the jboss-cvs-commits
mailing list