java.io

Class InterruptedIOException

public class InterruptedIOException extends IOException

This exception is thrown when a in process I/O operation is interrupted for some reason. The field bytesTransferred will contain the number of bytes that were read/written prior to the interruption.

See Also: interrupt

UNKNOWN: updated to 1.4

Field Summary
intbytesTransferred
The number of bytes read/written prior to the interruption.
Constructor Summary
InterruptedIOException()
Create an extends without a descriptive error message.
InterruptedIOException(String message)
Create an exception with a descriptive error message.

Field Detail

bytesTransferred

public int bytesTransferred
The number of bytes read/written prior to the interruption.

Serial: count of bytes successfully transferred

Constructor Detail

InterruptedIOException

public InterruptedIOException()
Create an extends without a descriptive error message.

InterruptedIOException

public InterruptedIOException(String message)
Create an exception with a descriptive error message.

Parameters: message the descriptive error message