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

Package org.apache.hadoop.fs

# Class PathPermissionException

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

All Implemented Interfaces:
  `Serializable`

public class PathPermissionException extends PathIOException
Exception corresponding to Operation Not Permitted - EPERM

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PathPermissionException(String path)`
  `PathPermissionException(String path, String error)`
  `PathPermissionException(String path, String error, Throwable cause)`
  `PathPermissionException(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

  - ### PathPermissionException

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

  - ### PathPermissionException

    public PathPermissionException(String path, Throwable cause)

  - ### PathPermissionException

    public PathPermissionException(String path, String error)

  - ### PathPermissionException

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