Class TableExistsException

  • All Implemented Interfaces:
    Serializable

    public class TableExistsException
    extends Exception
    Thrown when the table specified already exists, and it was expected that it didn't
    See Also:
    Serialized Form
    • Constructor Detail

      • TableExistsException

        public TableExistsException​(String tableId,
                                    String tableName,
                                    String description)
        Parameters:
        tableId - the internal id of the table that exists
        tableName - the visible name of the table that exists
        description - the specific reason why it failed
      • TableExistsException

        public TableExistsException​(String tableId,
                                    String tableName,
                                    String description,
                                    Throwable cause)
        Parameters:
        tableId - the internal id of the table that exists
        tableName - the visible name of the table that exists
        description - the specific reason why it failed
        cause - the exception that caused this failure
      • TableExistsException

        public TableExistsException​(ThriftTableOperationException e)
        Parameters:
        e - constructs an exception from a thrift exception