CHAPTER 22: The Package java.io |
![]() Previous |
![]() Java Language |
![]() Index |
![]() Next |
The class IOException is the general class of exceptions produced by failed or interrupted input/output operations. Subclasses of IOException include:
EOFException FileNotFoundException InterruptedIOException UTFDataFormatException public class IOException extends Exception { public IOException(); public IOException(String s); }
public IOException()
This constructor initializes a newly created IOException with null as its error message string.
public IOException(String s)
This constructor initializes a newly created IOException by saving a reference to the error message string s for later retrieval by the getMessage method (S20.22.3).
© 1996 Sun Microsystems, Inc. All rights reserved.