Sunday 10 March 2013

IOException


IOException

Declaration
public class IOException extends java.lang.Exception
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
Direct Known Subclasses: javax.microedition.io.ConnectionNotFoundException,
EOFException, InterruptedIOException, UnsupportedEncodingException,
UTFDataFormatException
Description
Signals that an I/O exception of some sort has occurred. This class is the general class of exceptions produced
by failed or interrupted I/O operations.
Since: JDK1.0, CLDC 1.0

Constructors
IOException()
IOException(java.lang.String s)

Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()

Constructors
IOException()
Declaration:
public IOException()
Description:
Constructs an IOException with null as its error detail message.
IOException(String)
Declaration:
public IOException(java.lang.String s)
Description:
Constructs an IOException with the specified detail message. The error message string s can later be
retrieved by the java.lang.Throwable.getMessage() method of class
java.lang.Throwable.
Parameters:
s - the detail message.




No comments:

Post a Comment