Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.io

Class InterruptedIOException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.io.IOException
         |
         +--java.io.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.

Authors:See Also:

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(java.lang.String message)

Create an exception with a descriptive error message.

Field Details

bytesTransferred

public int bytesTransferred

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


Constructor Details

InterruptedIOException

public InterruptedIOException()

Create an extends without a descriptive error message.


InterruptedIOException

public InterruptedIOException(java.lang.String message)

Create an exception with a descriptive error message.

Parameters: