Class InvalidPathHandleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.fs.InvalidPathHandleException
All Implemented Interfaces:
Serializable

@Public @Stable public class InvalidPathHandleException extends IOException
Thrown when the constraints enoded in a PathHandle do not hold. For example, if a handle were created with the default Options.HandleOpt.path() constraints, a call to FileSystem.open(PathHandle) would succeed if the file were modified, but if a different file was at that location then it would throw this exception.
See Also:
  • Constructor Details

    • InvalidPathHandleException

      public InvalidPathHandleException(String str)
    • InvalidPathHandleException

      public InvalidPathHandleException(String message, Throwable cause)