Package org.apache.accumulo.core.client
Class TableExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.accumulo.core.client.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 Summary
Constructors Constructor Description TableExistsException(String tableId, String tableName, String description)TableExistsException(String tableId, String tableName, String description, Throwable cause)TableExistsException(ThriftTableOperationException e)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TableExistsException
public TableExistsException(String tableId, String tableName, String description)
- Parameters:
tableId- the internal id of the table that existstableName- the visible name of the table that existsdescription- 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 existstableName- the visible name of the table that existsdescription- the specific reason why it failedcause- the exception that caused this failure
-
TableExistsException
public TableExistsException(ThriftTableOperationException e)
- Parameters:
e- constructs an exception from a thrift exception
-
-