java.io
Class InterruptedIOException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--java.io.InterruptedIOException

public class InterruptedIOException
extends IOException

Signals that an I/O operation has been interrupted.

See Also:
InputStream, OutputStream

Field Summary
 int bytesTransferred
          Reports how many bytes had been transferred as part of the IO operation before it was interrupted.
 
Constructor Summary
InterruptedIOException()
          Constructs an IOException with no detail message.
InterruptedIOException(String s)
          Constructs an IOException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bytesTransferred

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

Constructor Detail

InterruptedIOException

public InterruptedIOException()
Constructs an IOException with no detail message. A detail message is a String that describes this particular exception.


InterruptedIOException

public InterruptedIOException(String s)
Constructs an IOException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message