java.io.FileNotFoundException
FileNotFoundException
is thrown to indicate that no actual file could be
opened for a specified path name. See constructors FileInputStream
(§22.4.1,
§22.4.2) and FileOutputStream
(§22.16.1, §22.16.2).
public classFileNotFoundException
extends IOException { publicFileNotFoundException
(); publicFileNotFoundException
(String s); }
22.29.1 public
FileNotFoundException
()
This constructor initializes a newly created FileNotFoundException
with null
as its error message string.
22.29.2 public
FileNotFoundException
(String s)
This constructor initializes a newly created FileNotFoundException
by saving a
reference to the error message string s
for later retrieval by the getMessage
method (§20.22.3).
Contents | Prev | Next | Index
Java Language Specification (HTML generated by Suzette Pelouch on February 24, 1998)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com