commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r586610 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/TransactionContext.java
Date Fri, 19 Oct 2007 20:56:34 GMT
Author: dain
Date: Fri Oct 19 13:56:33 2007
New Revision: 586610

URL: http://svn.apache.org/viewvc?rev=586610&view=rev
Log:
Changed confusing exception message

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/TransactionContext.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/TransactionContext.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/TransactionContext.java?rev=586610&r1=586609&r2=586610&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/TransactionContext.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/TransactionContext.java
Fri Oct 19 13:56:33 2007
@@ -141,7 +141,7 @@
     private Transaction getTransaction() throws SQLException {
         Transaction transaction = (Transaction) this.transaction.get();
         if (transaction == null) {
-            throw new SQLException("Unable to enlist connection the transaction becuase transaction
has been Garbage Collected");
+            throw new SQLException("Unable to enlist connection because the transaction has
been garbage collected");
         }
         return transaction;
     }



Mime
View raw message