Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.nio.file.FileSystemException java.nio.file.AccessDeniedException
public class AccessDeniedException extends FileSystemException
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.
Constructor and Description |
---|
AccessDeniedException(String file)
Constructs an instance of this class. |
AccessDeniedException(String file,
String other,
String reason)
Constructs an instance of this class. |
Modifier and Type | Method and Description |
---|
Methods inherited from class java.nio.file.FileSystemException |
---|
getFile, getMessage, getOtherFile, getReason |
Methods inherited from class java.lang.Throwable |
---|
addSuppressedException, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AccessDeniedException(String file)
file
- a string identifying the file or null
if not knownpublic AccessDeniedException(String file, String other, String reason)
file
- a string identifying the file or null
if not knownother
- a string identifying the other file or null
if not knownreason
- a reason message with additional information or null
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.