java.io.InterruptedIOException
java.io.IOException
None
None
JDK 1.0 or later
An InterruptedIOException is thrown when an I/O operation is interrupted. This can occur when a thread is waiting for data to become available for a PipedInputStream or PipedReader to read. It can also occur when a thread is waiting for buffer space to become available for a PipedOutputStream or PipedWriter to write to. If the thread's interrupt() method is called while the thread is waiting, the read() or write() method in question throws an InterruptedIOException.
public class java.io.InterruptedIOException extends java.io.IOException { // Variables public int bytesTransferred; // Constructors public InterruptedIOException(); public InterruptedIOException(String s); }
The number of bytes that had been transferred before the interruption.
This constructor creates an InterruptedIOException with no detail message.
The detail message.
This constructor creates an InterruptedIOException with the specified detail message.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Object |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
Exception, IOException, Throwable
This HTML Help has been published using the chm2web software. |