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