org.apache.accumulo.core.client
Class TableNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
TableNotFoundException(String tableId, String tableName, String description)
           
TableNotFoundException(String tableId, String tableName, String description, Throwable cause)
           
TableNotFoundException(ThriftTableOperationException e)
           
 
Method Summary
 String getTableName()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Method Detail

getTableName

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


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.