| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public exception IOException extends Exception
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.
Constructor Summary | |
---|---|
Constructs an with as its error detail message. |
|
IOException(String message) Constructs an with the specified detail message. |
|
IOException(String message, Throwable cause) Constructs an with the specified detail message and cause. |
|
IOException(Throwable cause) Constructs an with the specified cause and a detail message of (which typically contains the class and detail message of ). |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IOException()
public IOException(String message)
message
- The detail message (which is saved for later retrieval
by the {@link #getMessage()} method)public IOException(String message, Throwable cause)
Note that the detail message associated with {@code cause} is not automatically incorporated into this exception's detail message.
message
- The detail message (which is saved for later retrieval
by the {@link #getMessage()} method)cause
- The cause (which is saved for later retrieval by the
{@link #getCause()} method). (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)public IOException(Throwable cause)
cause
- The cause (which is saved for later retrieval by the
{@link #getCause()} method). (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |