Package org.springframework.data.redis
Class ClusterStateFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.NonTransientDataAccessResourceException
org.springframework.dao.DataAccessResourceFailureException
org.springframework.data.redis.ClusterStateFailureException
- All Implemented Interfaces:
Serializable
DataAccessResourceFailureException
indicating the current local snapshot of cluster state does no longer
represent the actual remote state. This can happen nodes are removed from cluster, slots get migrated to other nodes
and so on.- Since:
- 1.7
- Author:
- Christoph Strobl, Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates newClusterStateFailureException
.ClusterStateFailureException
(String msg, Throwable cause) Creates newClusterStateFailureException
. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClusterStateFailureException
Creates newClusterStateFailureException
.- Parameters:
msg
- the detail message.
-
ClusterStateFailureException
Creates newClusterStateFailureException
.- Parameters:
msg
- the detail message.cause
- the nested exception.
-