Module spring.data.cassandra
Class CassandraSchemaElementExistsException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CassandraKeyspaceExistsException
,CassandraTableExistsException
Spring data access exception for when Cassandra schema element being created already exists.
- Author:
- Matthew T. Adams, Mark Paluch
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionCassandraSchemaElementExistsException
(String msg, Throwable cause) Constructor forCassandraSchemaElementExistsException
.CassandraSchemaElementExistsException
(String elementName, CassandraSchemaElementExistsException.ElementType elementType, String msg, Throwable cause) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.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
-
CassandraSchemaElementExistsException
@Deprecated public CassandraSchemaElementExistsException(String elementName, CassandraSchemaElementExistsException.ElementType elementType, String msg, Throwable cause) Deprecated.Constructor forCassandraSchemaElementExistsException
.- Parameters:
elementName
- the CQL element name.elementType
- the CQL element type.msg
- the detail message.cause
- the root cause from the underlying data access API.
-
CassandraSchemaElementExistsException
Constructor forCassandraSchemaElementExistsException
.- Parameters:
msg
- the detail message.cause
- the root cause from the underlying data access API.
-
-
Method Details
-
getElementName
Deprecated. -
getElementType
Deprecated.
-