Class NamespaceNotEmptyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.accumulo.core.client.NamespaceNotEmptyException
All Implemented Interfaces:
Serializable

public class NamespaceNotEmptyException extends Exception
Thrown when the namespace specified contains tables
See Also:
  • Constructor Details

    • NamespaceNotEmptyException

      public NamespaceNotEmptyException(String namespaceId, String namespaceName, String description)
      Parameters:
      namespaceId - the internal id of the namespace
      namespaceName - the visible name of the namespace
      description - the specific reason why it failed
    • NamespaceNotEmptyException

      public NamespaceNotEmptyException(String namespaceId, String namespaceName, String description, Throwable cause)
      Parameters:
      namespaceId - the internal id of the namespace
      namespaceName - the visible name of the namespace
      description - the specific reason why it failed
      cause - 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

      public String getNamespaceName()
      Returns:
      the name of the namespace