Build 1.0_r1(from source)

java.io
Class InterruptedIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.InterruptedIOException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectTimeoutException, SocketTimeoutException

public class InterruptedIOException
extends IOException

This IO exception is thrown when a program reading or writing to a stream is interrupted. This is also thrown when a socket timeout occurs before the request has completed.

See Also:
Serialized Form

Field Summary
 int bytesTransferred
          The number of bytes transferred before the IO interrupt occurred.
 
Constructor Summary
InterruptedIOException()
          Constructs a new instance of this class with its walkback filled in.
InterruptedIOException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bytesTransferred

public int bytesTransferred
The number of bytes transferred before the IO interrupt occurred. The default is 0 but the value may be filled in by the caller of the constructor.

Constructor Detail

InterruptedIOException

public InterruptedIOException()
Constructs a new instance of this class with its walkback filled in.


InterruptedIOException

public InterruptedIOException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - The detail message for the exception.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature