[jboss-cvs] JBossAS SVN: r80758 - projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 10 17:23:00 EST 2008


Author: bstansberry at jboss.com
Date: 2008-11-10 17:23:00 -0500 (Mon, 10 Nov 2008)
New Revision: 80758

Modified:
   projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc/FieldBasedJBossCacheService.java
Log:
Improve log comments

Modified: projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc/FieldBasedJBossCacheService.java
===================================================================
--- projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc/FieldBasedJBossCacheService.java	2008-11-10 22:18:55 UTC (rev 80757)
+++ projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc/FieldBasedJBossCacheService.java	2008-11-10 22:23:00 UTC (rev 80758)
@@ -119,12 +119,11 @@
       
       Fqn fqn = getFieldFqn(combinedPath_, realId, key);
       try {
-         // Ignore any cache notifications that our own work generates
          pojoCache_.attach(fqn.toString(), value);
       } 
       catch (CacheException e) 
       {
-         throw new RuntimeException("SessionBasedJBossCacheService: exception occurred in cache setPojo ... ", e);
+         throw new RuntimeException("Exception occurred in PojoCache attach ... ", e);
       }
    }
 
@@ -147,7 +146,7 @@
       } 
       catch (CacheException e) 
       {
-         throw new RuntimeException("Exception occurred in cache removePojo ... ", e);
+         throw new RuntimeException("Exception occurred in PojoCache detach ... ", e);
       }
    }
 
@@ -172,7 +171,7 @@
       }
       catch (CacheException e)
       {
-         log_.error("getPojoKeys(): Exception getting keys for session " + realId, e);
+         log_.error("getAttributeKeys(): Exception getting keys for session " + realId, e);
       }
       
       return keys;      
@@ -200,7 +199,7 @@
       }
       catch (CacheException e) 
       {
-         throw new RuntimeException("SessionBasedJBossCacheService: exception occurred in cache find ... ", e);
+         throw new RuntimeException("Exception occurred in PojoCache find ... ", e);
       }
    }
    




More information about the jboss-cvs-commits mailing list