Team LiB
Previous Section Next Section

InterruptedIOExceptionjava.io

Java 1.0serializable checked

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

    Team LiB
    Previous Section Next Section