|
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.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.nio.file.FileSystemException
java.nio.file.NoSuchFileException
public class NoSuchFileException extends FileSystemException
Checked exception thrown when an attempt is made to access a file that does not exist.
| Constructor and Description |
|---|
NoSuchFileException(String file)
Constructs an instance of this class. |
NoSuchFileException(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 NoSuchFileException(String file)
file - a string identifying the file or null if not known.
public NoSuchFileException(String file,
String other,
String reason)
file - a string identifying the file or null if not known.other - a string identifying the other file or null if not known.reason - 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.