Click or drag to resize

AlreadyExistsException Class

Exception thrown when a query attemps to create a keyspace or table that already exists.
Inheritance Hierarchy
SystemObject
  SystemException
    CassandraDriverException
      CassandraQueryValidationException
        CassandraAlreadyExistsException

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public class AlreadyExistsException : QueryValidationException

The AlreadyExistsException type exposes the following members.

Constructors
  NameDescription
Public methodAlreadyExistsException
Initializes a new instance of the AlreadyExistsException class
Top
Properties
  NameDescription
Public propertyKeyspace
Gets the name of keyspace that either already exists or is home to the table that already exists.
Public propertyTable
If the failed creation was a table creation, gets the name of the table that already exists.
Public propertyWasTableCreation
Gets whether the query yielding this exception was a table creation attempt.
Top
See Also