Package org.apache.accumulo.core.client
Class NamespaceNotEmptyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.accumulo.core.client.NamespaceNotEmptyException
- All Implemented Interfaces:
Serializable
Thrown when the namespace specified contains tables
- See Also:
-
Constructor Summary
ConstructorDescriptionNamespaceNotEmptyException
(String namespaceId, String namespaceName, String description) NamespaceNotEmptyException
(String namespaceId, String namespaceName, String description, Throwable cause) NamespaceNotEmptyException
(org.apache.accumulo.core.clientImpl.thrift.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 Details
-
NamespaceNotEmptyException
- Parameters:
namespaceId
- the internal id of the namespacenamespaceName
- the visible name of the namespacedescription
- the specific reason why it failed
-
NamespaceNotEmptyException
public NamespaceNotEmptyException(String namespaceId, String namespaceName, String description, Throwable cause) - Parameters:
namespaceId
- the internal id of the namespacenamespaceName
- the visible name of the namespacedescription
- the specific reason why it failedcause
- the exception that caused this failure
-
NamespaceNotEmptyException
public NamespaceNotEmptyException(org.apache.accumulo.core.clientImpl.thrift.ThriftTableOperationException e) - Parameters:
e
- constructs an exception from a thrift exception
-
-
Method Details
-
getNamespaceName
- Returns:
- the name of the namespace
-