Package org.apache.accumulo.core.client
Class NamespaceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.accumulo.core.client.NamespaceNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when the namespace specified doesn't exist when it was expected to
- See Also:
-
Constructor Summary
ConstructorDescriptionNamespaceNotFoundException
(String namespaceId, String namespaceName, String description) NamespaceNotFoundException
(String namespaceId, String namespaceName, String description, Throwable cause) NamespaceNotFoundException
(org.apache.accumulo.core.client.impl.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
-
NamespaceNotFoundException
- Parameters:
namespaceId
- the internal id of the namespace that was soughtnamespaceName
- the visible name of the namespace that was soughtdescription
- the specific reason why it failed
-
NamespaceNotFoundException
public NamespaceNotFoundException(String namespaceId, String namespaceName, String description, Throwable cause) - Parameters:
namespaceId
- the internal id of the namespace that was soughtnamespaceName
- the visible name of the namespace that was soughtdescription
- the specific reason why it failedcause
- the exception that caused this failure
-
NamespaceNotFoundException
public NamespaceNotFoundException(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException e) - Parameters:
e
- constructs an exception from a thrift exception
-
-
Method Details
-
getNamespaceName
- Returns:
- the name of the namespace sought
-