Module spring.data.cassandra
Class CassandraConnectionFailureException
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.cassandra.CassandraConnectionFailureException
- All Implemented Interfaces:
Serializable
Spring data access exception for Cassandra when no host is available.
- Author:
- Matthew T. Adams
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCassandraConnectionFailureException
(Map<com.datastax.oss.driver.api.core.metadata.Node, Throwable> map, String msg, Throwable cause) Constructor forCassandraConnectionFailureException
. -
Method Summary
Modifier and TypeMethodDescriptionMethods 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
-
CassandraConnectionFailureException
public CassandraConnectionFailureException(Map<com.datastax.oss.driver.api.core.metadata.Node, Throwable> map, String msg, Throwable cause) Constructor forCassandraConnectionFailureException
.- Parameters:
map
- the detail failures for each node.msg
- the detail message.cause
- the root cause from the underlying data access API.
-
-
Method Details
-
getMessagesByHost
-