Packages  This Package  Prev  Next  Index  

§2.30 Class InterruptedIOException

public  class  java.io.InterruptedIOException
    extends  java.io.IOException  (I-§2.29)
{
        // Fields
    public int bytesTransferred;	§2.30.1

        // Constructors
    public InterruptedIOException();	§2.30.2
    public InterruptedIOException(String  s);	§2.30.3
}
Signals that an I/O operation has been interrupted.

See Also:
InputStream (I-§2.13)
OutputStream (I-§2.15)
Interrupt in class Thread (I-§1.19.21).

Fields

bytesTransferred

public int bytesTransferred
Reports how many bytes had been transferred as part of the IO operation before it was interrupted.

Constructors

InterruptedIOException

public InterruptedIOException()
Constructs an InterruptedIOException with no detail message.

InterruptedIOException

public InterruptedIOException(String s)
Constructs an InterruptedIOException with the specified detail message.
Parameters:
s - the detail message

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com