Author: manik.surtani(a)jboss.com
Date: 2008-01-28 06:37:18 -0500 (Mon, 28 Jan 2008)
New Revision: 5243
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/TxInterceptor.java
Log:
JBCACHE-1275 - add more debug before setting tx to rollback only
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/TxInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/TxInterceptor.java 2008-01-28
11:32:31 UTC (rev 5242)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/TxInterceptor.java 2008-01-28
11:37:18 UTC (rev 5243)
@@ -1368,6 +1368,7 @@
}
catch (Throwable t)
{
+ if (log.isWarnEnabled()) log.warn("Caught exception, will now set
transaction to roll back", t);
try
{
tx.setRollbackOnly();