org.apache.hadoop.registry.client.exceptions
Class RegistryIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.fs.PathIOException
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
Methods inherited from class org.apache.hadoop.fs.PathIOException |
getMessage, getPath, getTargetPath, setOperation, setTargetPath |
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 textcause
- 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.