| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.io.InterruptedIOException
All known Subclasses: java.net.SocketTimeoutException,
InterruptedIOException | public class InterruptedIOException extends IOException (Code) | | This IO exception is thrown when a program reading or writing to a stream is
interrupted. This is also thrown when a socket timeout occurs before the
request has completed.
|
Field Summary | |
public int | bytesTransferred The number of bytes transferred before the IO interrupt occurred. |
Constructor Summary | |
public | InterruptedIOException() Constructs a new instance of this class with its walkback filled in. | public | InterruptedIOException(String detailMessage) Constructs a new instance of this class with its walkback and message
filled in. |
bytesTransferred | public int bytesTransferred(Code) | | The number of bytes transferred before the IO interrupt occurred. The
default is 0 but the value may be filled in by the caller of the
constructor.
|
InterruptedIOException | public InterruptedIOException()(Code) | | Constructs a new instance of this class with its walkback filled in.
|
InterruptedIOException | public InterruptedIOException(String detailMessage)(Code) | | Constructs a new instance of this class with its walkback and message
filled in.
Parameters: detailMessage - The detail message for the exception. |
|
|
|