Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 142
نمايش فراداده

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