Class CassandraKeyspaceExistsException
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.data.cassandra.CassandraSchemaElementExistsException
org.springframework.data.cassandra.CassandraKeyspaceExistsException
- All Implemented Interfaces:
Serializable
Spring data access exception for Cassandra when a keyspace being created already exists.
- Author:
- Matthew T. Adams
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.cassandra.CassandraSchemaElementExistsException
CassandraSchemaElementExistsException.ElementType
-
Constructor Summary
ConstructorDescriptionCassandraKeyspaceExistsException
(String keyspaceName, String msg, Throwable cause) Constructor forCassandraKeyspaceExistsException
. -
Method Summary
Methods inherited from class org.springframework.data.cassandra.CassandraSchemaElementExistsException
getElementName, getElementType
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
-
CassandraKeyspaceExistsException
Constructor forCassandraKeyspaceExistsException
.- Parameters:
keyspaceName
- the keyspace name.msg
- the detail message.cause
- the root cause from the underlying data access API.
-
-
Method Details
-
getKeyspaceName
-