Android
java.io
public class

java.io.InterruptedIOException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.io.IOException
java.io.InterruptedIOException

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.

Known Direct Subclasses
Known Indirect Subclasses

Summary

Fields

public      int  bytesTransferred  The number of bytes transferred before the IO interrupt occurred. 

Public Constructors

            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.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Fields

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.

Public Constructors

public InterruptedIOException()

Constructs a new instance of this class with its walkback filled in.

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48