PathNotFoundException (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.fs, class: PathNotFoundException

Package org.apache.hadoop.fs

# Class PathNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.fs.PathIOException
org.apache.hadoop.fs.PathNotFoundException

All Implemented Interfaces:
  `Serializable`

public class PathNotFoundException extends PathIOException
Exception corresponding to path not found: ENOENT/ENOFILE

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PathNotFoundException(String path)`
  `PathNotFoundException(String path, String error)`
  `PathNotFoundException(String path, String error, Throwable cause)`
  `PathNotFoundException(String path, Throwable cause)`

- ## Method Summary

  ### Methods inherited from class org.apache.hadoop.fs.PathIOException

  `getMessage, getPath, getTargetPath, setOperation, setTargetPath, withFullyQualifiedPath`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### PathNotFoundException

    public PathNotFoundException(String path)
    Parameters:
      `path` - for the exception

  - ### PathNotFoundException

    public PathNotFoundException(String path, Throwable cause)

  - ### PathNotFoundException

    public PathNotFoundException(String path, String error)

  - ### PathNotFoundException

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