当前位置 类层次(JDK) 所有类(JDK) 所有域和方法(JDK)

类 java.io.InterruptedIOException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.io.IOException
                           |
                           +----java.io.InterruptedIOException

public class InterruptedIOException
extends IOException

发出一个 I/O 操作被中断的信号。

来自:
JDK1.0
参见:
InputStream, OutputStream, interrupt

变量索引

bytesTransferred
报告当 I/O 操作被中断前已传送了多少字节。

构造子索引

InterruptedIOException()
构造一个无详细消息的 InterruptedIOException
InterruptedIOException(String)
用指定的详细消息串参数,创建一 InterruptedIOException 类。

变量

bytesTransferred
 public int bytesTransferred
报告当 I/O 操作被中断前已传送了多少字节。


构造子

InterruptedIOException
 public InterruptedIOException()
构造一个无详细消息的 InterruptedIOException

InterruptedIOException
 public InterruptedIOException(String s)
用指定的详细消息串参数,创建一 InterruptedIOException类。

参数:
s - 详细消息字符串。

当前位置 类层次(JDK) 所有类(JDK) 所有域和方法(JDK)