org.apache.hadoop.registry.client.exceptions
Class NoChildrenForEphemeralsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.fs.PathIOException
                  extended by org.apache.hadoop.registry.client.exceptions.RegistryIOException
                      extended by org.apache.hadoop.registry.client.exceptions.NoChildrenForEphemeralsException
All Implemented Interfaces:
Serializable

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class NoChildrenForEphemeralsException
extends RegistryIOException

This is a manifestation of the Zookeeper restrictions about what nodes may act as parents. Children are not allowed under ephemeral nodes. This is an aspect of ZK which isn't directly exposed to the registry API. It may surface if the registry is manipulated outside of the registry API.

See Also:
Serialized Form

Constructor Summary
NoChildrenForEphemeralsException(String path, String error)
           
NoChildrenForEphemeralsException(String path, String error, Throwable cause)
           
NoChildrenForEphemeralsException(String path, Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.apache.hadoop.fs.PathIOException
getMessage, getPath, getTargetPath, setOperation, setTargetPath
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

NoChildrenForEphemeralsException

public NoChildrenForEphemeralsException(String path,
                                        Throwable cause)

NoChildrenForEphemeralsException

public NoChildrenForEphemeralsException(String path,
                                        String error)

NoChildrenForEphemeralsException

public NoChildrenForEphemeralsException(String path,
                                        String error,
                                        Throwable cause)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.