InterruptedIOException is thrown to indicate that an
input or output transfer has been terminated because the thread
performing it was interrupted. The field bytesTransferred
indicates how many bytes were successfully transferred before
the interruption occurred.
java.io.InputStream , java.io.OutputStream , java.lang.Thread#interrupt()
| Modifier and Type | Field and Description |
|---|---|
| public int | bytesTransferred
Reports how many bytes had been transferred as part of the I/O operation before it was interrupted. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | InterruptedIOException(String
the detail message. s)Constructs an |
| bytesTransferred | back to summary |
|---|---|
| public int bytesTransferred Reports how many bytes had been transferred as part of the I/O operation before it was interrupted. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| InterruptedIOException | back to summary |
|---|---|
| public InterruptedIOException() Constructs an | |
| InterruptedIOException | back to summary |
|---|---|
| public InterruptedIOException(String s) Constructs an
| |