[jboss-cvs] JBossAS SVN: r63235 - trunk/tomcat/src/main/org/jboss/web/tomcat/service/session.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 29 00:21:12 EDT 2007


Author: bstansberry at jboss.com
Date: 2007-05-29 00:21:11 -0400 (Tue, 29 May 2007)
New Revision: 63235

Modified:
   trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheWrapper.java
Log:
Properly return from evictSubtree

Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheWrapper.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheWrapper.java	2007-05-29 04:20:32 UTC (rev 63234)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheWrapper.java	2007-05-29 04:21:11 UTC (rev 63235)
@@ -316,15 +316,16 @@
 //            }
 //            return;
             plainCache_.evict(fqn, true);
+            return;
             
          }
          catch (TimeoutException e)
          {
             ex = e;
          }
-         catch (Exception e)
+         catch (RuntimeException e)
          {
-            throw new RuntimeException("JBossCacheService: exception occurred in cache evict ... ", e);
+            throw (RuntimeException) e;
          }
       }
       throw new RuntimeException("JBossCacheService: exception occurred in cache evictSubtree after retry ... ", ex);  




More information about the jboss-cvs-commits mailing list