[jboss-cvs] JBossAS SVN: r60634 - branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/clusteredsession.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Feb 19 01:01:05 EST 2007
Author: bstansberry at jboss.com
Date: 2007-02-19 01:01:05 -0500 (Mon, 19 Feb 2007)
New Revision: 60634
Modified:
branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/ExplicitFailoverInterceptor.java
Log:
Log the GenericClusteringException stack trace
Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/ExplicitFailoverInterceptor.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/ExplicitFailoverInterceptor.java 2007-02-19 05:43:26 UTC (rev 60633)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/ExplicitFailoverInterceptor.java 2007-02-19 06:01:05 UTC (rev 60634)
@@ -58,10 +58,12 @@
if (doFail)
{
- log.debug ("WE FAILOVER IN EJB INTERCEPTOR (explicit failover)!");
+ GenericClusteringException e = new GenericClusteringException
+ (GenericClusteringException.COMPLETED_NO, "Test failover from ejb interceptor", false);
+
+ log.debug ("WE FAILOVER IN EJB INTERCEPTOR (explicit failover)!", e);
- throw new GenericClusteringException
- (GenericClusteringException.COMPLETED_NO, "Test failover from ejb interceptor", false);
+ throw e;
}
}
}
More information about the jboss-cvs-commits
mailing list