org.apache.accumulo.core.client
Class NamespaceExistsException

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

public class NamespaceExistsException
extends Exception

Thrown when the namespace specified already exists, and it was expected that it didn't

See Also:
Serialized Form

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

NamespaceExistsException

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

NamespaceExistsException

public NamespaceExistsException(String namespaceId,
                                String namespaceName,
                                String description,
                                Throwable cause)
Parameters:
namespaceId - the internal id of the namespace that exists
namespaceName - the visible name of the namespace that exists
description - the specific reason why it failed
cause - the exception that caused this failure

NamespaceExistsException

public NamespaceExistsException(ThriftTableOperationException e)
Parameters:
e - constructs an exception from a thrift exception


Copyright © 2015 Apache Accumulo Project. All rights reserved.