[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
manik at jboss.org
Wed Jul 11 10:11:29 EDT 2007
User: msurtani
Date: 07/07/11 10:11:29
Modified: src/org/jboss/cache/interceptors Tag:
Branch_JBossCache_1_4_0 TxInterceptor.java
Log:
JBCACHE-1130
Revision Changes Path
No revision
No revision
1.48.2.15 +3 -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.48.2.14
retrieving revision 1.48.2.15
diff -u -b -r1.48.2.14 -r1.48.2.15
--- TxInterceptor.java 29 Jun 2007 04:26:55 -0000 1.48.2.14
+++ TxInterceptor.java 11 Jul 2007 14:11:29 -0000 1.48.2.15
@@ -1148,6 +1148,7 @@
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