public class InterruptedIOException extends IOException
InterruptedIOExceptionis thrown to indicate that an input or output transfer has been terminated because the thread performing it was interrupted. The field
bytesTransferredindicates how many bytes were successfully transferred before the interruption occurred.
|Modifier and Type||Field and Description|
Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.
|Constructor and Description|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int bytesTransferred
nullas its error detail message.