Author: manik.surtani(a)jboss.com
Date: 2007-12-20 13:03:29 -0500 (Thu, 20 Dec 2007)
New Revision: 4899
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java
Log:
fail sitently option fix
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java 2007-12-20
17:14:25 UTC (rev 4898)
+++
core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java 2007-12-20
18:03:29 UTC (rev 4899)
@@ -6,12 +6,12 @@
*/
package org.jboss.cache.interceptors;
+import org.apache.commons.logging.Log;
import org.jboss.cache.InvocationContext;
import org.jboss.cache.config.Option;
import org.jboss.cache.marshall.MethodCall;
import org.jboss.cache.marshall.MethodDeclarations;
import org.jboss.cache.transaction.GlobalTransaction;
-import org.apache.commons.logging.Log;
import javax.transaction.SystemException;
import javax.transaction.Transaction;
@@ -65,7 +65,15 @@
}
}
- Object retval = nextInterceptor(ctx);
+ Object retval;
+ try
+ {
+ retval = nextInterceptor(ctx);
+ }
+ catch (Throwable th)
+ {
+ retval = th;
+ }
// assume we're the first interceptor in the chain. Handle the
exception-throwing.
if (retval instanceof Throwable)
{
Show replies by date