java.io
Class IOException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ChangedCharSetException, CharConversionException, ConnectionAttemptFailed, ConnectionShutDownException, EOFException, FileCopyException, FileNotFoundException, InterruptedIOException, MalformedURLException, NestedIOException, ObjectStreamException, ProtocolException, SocketException, SyncFailedException, UnavailableException, UnknownHostException, UnknownServiceException, UnsupportedEncodingException, UTFDataFormatException
- public class IOException
- extends Exception
Untamed: 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
- Version:
- 1.20, 12/03/01
- Author:
- unascribed
- See Also:
java.io.InputStream
,
java.io.OutputStream
,
Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
IOException()
Enabled: Constructs an IOException with null
as its error detail message. |
IOException(String s)
Enabled: Constructs an IOException with the specified detail
message. |
Methods inherited from class java.lang.Throwable |
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, toString, unwrap |
IOException
public IOException()
- Enabled: Constructs an
IOException
with null
as its error detail message.
IOException
public IOException(String s)
- Enabled: 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.
comments?