Module java.base
Package java.io

Class InterruptedIOException

java.lang.Object
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SocketTimeoutException

public class InterruptedIOException extends IOException
Signals that an I/O operation has been interrupted. An 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.
Since:
1.0
See Also: