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

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidPathnameException, InvalidRecordException, NoChildrenForEphemeralsException, NoRecordException

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class RegistryIOException
extends org.apache.hadoop.fs.PathIOException

Base exception for registry operations.

These exceptions include the path of the failing operation wherever possible; this can be retrieved via PathIOException.getPath().

See Also:
Serialized Form

Constructor Summary
RegistryIOException(String message, org.apache.hadoop.fs.PathIOException cause)
          Build an exception from any other Path IO Exception.
RegistryIOException(String path, String error)
           
RegistryIOException(String path, String error, Throwable cause)
           
RegistryIOException(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

RegistryIOException

public RegistryIOException(String message,
                           org.apache.hadoop.fs.PathIOException cause)
Build an exception from any other Path IO Exception. This propagates the path of the original exception

Parameters:
message - more specific text
cause - cause

RegistryIOException

public RegistryIOException(String path,
                           Throwable cause)

RegistryIOException

public RegistryIOException(String path,
                           String error)

RegistryIOException

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.