Exception: java.io.InterruptedIOException
- public exception InterruptedIOException
- extends IOException
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 interrupted. The field java.io.InterruptedIOException.bytesTransferred
indicates how many bytes were successfully transferred before
the interruption occurred.Inheritance
Superclass tree:- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.io.IOException
- java.io.InterruptedIOException
Methods
-
InterruptedIOExceptiontop
public InterruptedIOException()Constructs anInterruptedIOExceptionwithnullas its error detail message. -
InterruptedIOExceptiontop
public InterruptedIOException(String s)Constructs anInterruptedIOExceptionwith the specified detail message. The stringscan be retrieved later by theThrowable.getMessage()method of classjava.lang.Throwable.
