java.io.IOException
java.lang.Exception
java.io.CharConversionException,
java.io.EOFException,
java.io.FileNotFoundException,
java.io.InterruptedIOException,
java.io.ObjectStreamException,
java.io.SyncFailedException,
java.io.UnsupportedEncodingException,
java.io.UTFDataFormatException,
java.net.MalformedURLException,
java.net.ProtocolException,
java.net.SocketException,
java.net.UnknownHostException,
java.net.UnknownServiceException,
java.util.zip.ZipException
None
JDK 1.0 or later
The IOException class is the superclass for all of the exceptions that represent anything that can go wrong with input or output.
public class java.io.IOException extends java.lang.Exception { // Constructors public IOException(); public IOException(String s); }
This constructor creates an IOException with no detail message.
The detail message.
This constructor creates an IOException with the specified detail message.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Object |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
CharConversionException, EOFException, Exception, FileNotFoundException, InterruptedException, MalformedURLException, ObjectStreamException, ProtocolException, SocketException, SyncFailedException, Throwable, UnknownHostException, UnknownServiceException, UnsupportedEncodingException, UTFDataFormatException, ZipException