Class AlreadyExistsException

All Implemented Interfaces:
Serializable

public class AlreadyExistsException extends ServerException
Duplicate resource (table, record, namespace, database, session).

Details use the {kind, details?} format with variants defined in AlreadyExistsDetailKind.

See Also:
  • Method Details

    • getRecordId

      public String getRecordId()
      Returns the record id, if this is a duplicate record error.
      Returns:
      the record id string, or null
    • getTableName

      public String getTableName()
      Returns the table name, if this is a duplicate table error.
      Returns:
      the table name, or null
    • getSessionId

      public String getSessionId()
      Returns the session id, if this is a duplicate session error.
      Returns:
      the session id, or null
    • getNamespaceName

      public String getNamespaceName()
      Returns the namespace name, if this is a duplicate namespace error.
      Returns:
      the namespace name, or null
    • getDatabaseName

      public String getDatabaseName()
      Returns the database name, if this is a duplicate database error.
      Returns:
      the database name, or null