Package org.apache.accumulo.core.client
Class TableNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.accumulo.core.client.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 Summary
Constructors Constructor Description TableNotFoundException(String tableId, String tableName, String description)
TableNotFoundException(String tableId, String tableName, String description, Throwable cause)
TableNotFoundException(String tableName, NamespaceNotFoundException e)
TableNotFoundException(ThriftTableOperationException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTableName()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TableNotFoundException
public TableNotFoundException(String tableId, String tableName, String description)
- Parameters:
tableId
- the internal id of the table that was soughttableName
- the visible name of the table that was soughtdescription
- 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 soughttableName
- the visible name of the table that was soughtdescription
- the specific reason why it failedcause
- 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 tablee
- 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
-
-