Package com.hazelcast.client
Class UnsupportedClusterVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hazelcast.core.HazelcastException
com.hazelcast.client.UnsupportedClusterVersionException
- All Implemented Interfaces:
Serializable
An UnsupportedClusterVersionException is thrown when a Hazelcast Client
attempts to connect to a cluster with a configuration that is not supported
by the cluster version.
For example, a client configured with routing mode:
RoutingMode.MULTI_MEMBER
and RoutingStrategy
RoutingStrategy.PARTITION_GROUPS
will be unable to connect to a cluster that has a minimum cluster version of
less than the supported version of Versions.V5_5
.
- See Also:
-
Constructor Summary
ConstructorDescriptionUnsupportedClusterVersionException
(String message) Creates an UnsupportedClusterVersionException with the given message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedClusterVersionException
Creates an UnsupportedClusterVersionException with the given message.- Parameters:
message
- the message for the exception
-