Package org.springframework.data.redis
Class TooManyClusterRedirectionsException
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.DataRetrievalFailureException
org.springframework.data.redis.TooManyClusterRedirectionsException
- All Implemented Interfaces:
Serializable
DataRetrievalFailureException
thrown when following cluster redirects exceeds the max number of edges.- Since:
- 1.7
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates newTooManyClusterRedirectionsException
.TooManyClusterRedirectionsException
(String msg, Throwable cause) Creates newTooManyClusterRedirectionsException
. -
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
-
TooManyClusterRedirectionsException
Creates newTooManyClusterRedirectionsException
.- Parameters:
msg
- the detail message.
-
TooManyClusterRedirectionsException
Creates newTooManyClusterRedirectionsException
.- Parameters:
msg
- the detail message.cause
- the root cause from the data access API in use.
-