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

@Public @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:
  • Constructor Details

    • 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)