java.io
Class IOException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
- Direct Known Subclasses:
- EOFException, FileNotFoundException, InterruptedIOException, MalformedURLException, ProtocolException, SocketException, UnknownHostException, UnknownServiceException, UTFDataFormatException
- public class IOException
- extends Exception
Signals that an I/O exception has occurred.
- See Also:
InputStream
,
OutputStream
Constructor Summary |
IOException()
Constructs an IOException with no detail message. |
IOException(String s)
Constructs an IOException with the specified detail message. |
IOException
public IOException()
- Constructs an IOException with no detail message.
A detail message is a String that describes this particular exception.
IOException
public IOException(String s)
- Constructs an IOException with the specified detail message.
A detail message is a String that describes this particular exception.
- Parameters:
s
- the detail message