org.apache.accumulo.core.client
Class NamespaceNotEmptyException

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

public class NamespaceNotEmptyException
extends Exception

Thrown when the namespace specified contains tables

See Also:
Serialized Form

Constructor Summary
NamespaceNotEmptyException(String namespaceId, String namespaceName, String description)
           
NamespaceNotEmptyException(String namespaceId, String namespaceName, String description, Throwable cause)
           
NamespaceNotEmptyException(ThriftTableOperationException e)
           
 
Method Summary
 String getNamespaceName()
           
 
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

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(ThriftTableOperationException e)
Parameters:
e - constructs an exception from a thrift exception
Method Detail

getNamespaceName

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


Copyright © 2015 Apache Accumulo Project. All rights reserved.