Sunday 10 March 2013

InterruptedIOException


InterruptedIOException

Declaration
public class InterruptedIOException extends IOException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--java.io.InterruptedIOException
Description
Signals that an I/O operation has been interrupted. An InterruptedIOException is thrown to indicate
that an input or output transfer has been terminated because the thread performing it was terminated. The field
bytesTransferred indicates how many bytes were successfully transferred before the interruption
occurred.
Since: JDK1.0, CLDC 1.0

Fields
int bytesTransferred
Constructors
InterruptedIOException()
InterruptedIOException(java.lang.String s)

Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()

Fields
bytesTransferred
Declaration:
public int bytesTransferred
Description:
Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.

Constructors
InterruptedIOException()
Declaration:
public InterruptedIOException()
Description:
Constructs an InterruptedIOException with null as its error detail message.
InterruptedIOException(String)
Declaration:
public InterruptedIOException(java.lang.String s)
Description:
Constructs an InterruptedIOException with the specified detail message. The string s can be
retrieved later by the java.lang.Throwable.getMessage() method of class
java.lang.Throwable.
Parameters:
s - the detail message.




No comments:

Post a Comment