Class NamespaceNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class NamespaceNotFoundException
    extends Exception
    Thrown when the namespace specified doesn't exist when it was expected to
    See Also:
    Serialized Form
    • Constructor Detail

      • NamespaceNotFoundException

        public NamespaceNotFoundException​(String namespaceId,
                                          String namespaceName,
                                          String description)
        Parameters:
        namespaceId - the internal id of the namespace that was sought
        namespaceName - the visible name of the namespace that was sought
        description - 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 sought
        namespaceName - the visible name of the namespace that was sought
        description - the specific reason why it failed
        cause - the exception that caused this failure
      • NamespaceNotFoundException

        public NamespaceNotFoundException​(ThriftTableOperationException e)
        Parameters:
        e - constructs an exception from a thrift exception
    • Method Detail

      • getNamespaceName

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