[jboss-cvs] JBossCache/src/org/jboss/cache/pojo/jmx ...
Manik Surtani
manik at jboss.org
Tue Jul 3 08:00:56 EDT 2007
User: msurtani
Date: 07/07/03 08:00:56
Modified: src/org/jboss/cache/pojo/jmx PojoCacheJmxWrapper.java
Log:
listener based fixes
Revision Changes Path
1.17 +33 -30 JBossCache/src/org/jboss/cache/pojo/jmx/PojoCacheJmxWrapper.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCacheJmxWrapper.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/jmx/PojoCacheJmxWrapper.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- PojoCacheJmxWrapper.java 29 Jun 2007 04:08:19 -0000 1.16
+++ PojoCacheJmxWrapper.java 3 Jul 2007 12:00:56 -0000 1.17
@@ -84,6 +84,7 @@
private Element cacheLoaderConfig;
private Element clusterConfig;
private JChannelFactoryMBean multiplexerService;
+
/**
* Default constructor.
*/
@@ -967,8 +968,10 @@
cacheStatus = CacheStatus.FAILED;
sendStateChangeNotification(oldState, getState(), getClass().getSimpleName() + " failed", t);
- if (t instanceof CacheException)
+ if (t instanceof PojoCacheException)
throw (PojoCacheException) t;
+ if (t instanceof CacheException)
+ throw (CacheException) t;
else if (t instanceof RuntimeException)
throw (RuntimeException) t;
else if (t instanceof Error)
More information about the jboss-cvs-commits
mailing list