[jboss-cvs] JBossCache/src/org/jboss/cache/pojo/interceptors ...
Elias Ross
genman at noderunner.net
Thu Jan 25 16:54:06 EST 2007
User: genman
Date: 07/01/25 16:54:06
Modified: src/org/jboss/cache/pojo/interceptors
PojoTxInterceptor.java
Log:
JBCACHE-952 - Replace calls to Throwable.printStackTace with logging
Revision Changes Path
1.2 +3 -3 JBossCache/src/org/jboss/cache/pojo/interceptors/PojoTxInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoTxInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/interceptors/PojoTxInterceptor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- PojoTxInterceptor.java 13 Jan 2007 15:55:06 -0000 1.1
+++ PojoTxInterceptor.java 25 Jan 2007 21:54:06 -0000 1.2
@@ -22,7 +22,7 @@
* Interceptor (done via aop advice) for transaction
*
* @author Ben Wang
- * @version $Id: PojoTxInterceptor.java,v 1.1 2007/01/13 15:55:06 bwang Exp $
+ * @version $Id: PojoTxInterceptor.java,v 1.2 2007/01/25 21:54:06 genman Exp $
*/
public class PojoTxInterceptor extends AbstractInterceptor
{
@@ -82,9 +82,9 @@
{
localTm_.setRollbackOnly();
}
- catch (Exception exn)
+ catch (Exception e2)
{
- exn.printStackTrace();
+ log.error("setRollbackOnly", e2);
}
throw new PojoCacheException("PojoCache operation will be rollback. id: " + id
More information about the jboss-cvs-commits
mailing list