public class AccessDeniedException
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Thrown-by     Links  

Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check.

This exception is not related to the AccessControlException or SecurityException thrown by access controllers or security managers when access to a file is denied.

extends FileSystemException

Since:  1.7