Exception: java.io.IOException
- 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.
Inheritance
Superclass tree:- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.io.IOException
Methods
-
IOExceptiontop
public IOException()Constructs an IOException with null as its error detail message. -
IOExceptiontop
public IOException(String message)Constructs an IOException with the specified detail message. -
IOExceptiontop
Constructs an IOException with the specified detail message and cause.Note that the detail message associated with cause is not automatically incorporated into this exception's detail message.
-
IOExceptiontop
public IOException(Throwable cause)Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for IO exceptions that are little more than wrappers for other throwables.
