22.30
java.io.InterruptedIOException
THE PACKAGE JAVA.IO
22.30 The Class
java.io.InterruptedIOException
An
InterruptedIOException
is thrown to indicate that an input or output trans
fer has been terminated because the thread performing it was interrupted. The
field
bytesTransferred
indicates how many bytes were successfully transferred
before the interruption occurred.
public class InterruptedIOException extends IOException {
public int bytesTransferred = 0;
public InterruptedIOException();
public InterruptedIOException(String s);
}
22.30.1
public int bytesTransferred = 0;
The number of bytes that had been transferred by the I/O operation before the
operation was interrupted.
22.30.2
public InterruptedIOException()
This constructor initializes a newly created
InterruptedIOException
with
null
as its error message string.
22.30.3
public InterruptedIOException(String s)
This constructor initializes a newly created
InterruptedIOException
by saving
a reference to the error message string
s
for later retrieval by the
getMessage
method ( 20.22.3).
764
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved