Name
InterruptedIOException
Synopsis
An
IOException
that signals that an input or output
operation was interrupted. The bytesTransferred
field contains the number of bytes read or written before the
operation was interrupted.
Figure 9-27. java.io.InterruptedIOException
public class InterruptedIOException extends IOException { // Public Constructors public InterruptedIOException( ); public InterruptedIOException(String s); // Public Instance Fields public int bytesTransferred; }
Subclasses
java.net.SocketTimeoutException
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.