[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
manik at jboss.org
Wed Mar 28 12:12:12 EDT 2007
User: msurtani
Date: 07/03/28 12:12:11
Modified: src/org/jboss/cache CacheImpl.java
Log:
Updated exception type
Revision Changes Path
1.57 +52 -56 JBossCache/src/org/jboss/cache/CacheImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- CacheImpl.java 20 Mar 2007 13:26:10 -0000 1.56
+++ CacheImpl.java 28 Mar 2007 16:12:11 -0000 1.57
@@ -668,7 +668,7 @@
|| configuration.getMultiplexerStack() != null
|| configuration.getRuntimeConfig().getMuxChannelFactory() != null)
{
- throw new RuntimeException("Unable to start multiplexed Channel and property ClusterConfig not set");
+ throw new CacheException("Unable to start multiplexed Channel and property ClusterConfig not set");
}
configuration.setClusterConfig(getDefaultProperties());
log.debug("setting cluster properties to default value");
@@ -1016,10 +1016,6 @@
Object name;
NodeFactory factory = configuration.getRuntimeConfig().getNodeFactory();
- NodeFactory.NodeType type = configuration.isNodeLockingOptimistic()
- ? NodeFactory.NodeType.VERSIONED_NODE
- : NodeFactory.NodeType.UNVERSIONED_NODE;
-
for (int i = 0; i < subtree.size(); i++)
{
name = subtree.get(i);
More information about the jboss-cvs-commits
mailing list