Class TableNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class TableNotFoundException
    extends Exception
    Thrown when the table specified doesn't exist when it was expected to
    See Also:
    Serialized Form
    • Constructor Detail

      • TableNotFoundException

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

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

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

        public TableNotFoundException​(String tableName,
                                      NamespaceNotFoundException e)
        Parameters:
        tableName - the original specified table
        e - indicates that a table wasn't found because the namespace specified in the table name wasn't found
    • Method Detail

      • getTableName

        public String getTableName()
        Returns:
        the name of the table sought