[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
manik at jboss.org
Wed Jul 11 10:11:11 EDT 2007
User: msurtani
Date: 07/07/11 10:11:11
Modified: src/org/jboss/cache/interceptors TxInterceptor.java
Log:
JBCACHE-1130
Revision Changes Path
1.86 +4 -2 JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TxInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -b -r1.85 -r1.86
--- TxInterceptor.java 29 Jun 2007 04:27:33 -0000 1.85
+++ TxInterceptor.java 11 Jul 2007 14:11:11 -0000 1.86
@@ -1148,6 +1148,8 @@
if (result instanceof Throwable)
{
+ if (log.isDebugEnabled())
+ log.debug("Transaction needs to be rolled back - the cache returned an instance of Throwable for this prepare call (tx=" + tx + " and gtx=" + gtx + ")", (Throwable) result);
tx.setRollbackOnly();
throw (Throwable) result;
}
More information about the jboss-cvs-commits
mailing list