|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.InterruptedIOException
public class InterruptedIOException
I/O 操作已中断信号,抛出此异常。抛出 InterruptedIOException 指示输入或输出传输已经终止,原因是执行此操作的线程中断。字段 bytesTransferred 指示在发生中断之前已成功传输了多少字节。
InputStream,
OutputStream,
Thread.interrupt(),
序列化表格| 字段摘要 | |
|---|---|
int |
bytesTransferred
报告 I/O 操作中断之前传输了其中多少字节。 |
| 构造方法摘要 | |
|---|---|
InterruptedIOException()
构造一个 InterruptedIOException,使用 null 作为其错误消息。 |
|
InterruptedIOException(String s)
构造带指定详细消息的 InterruptedIOException。 |
|
| 方法摘要 |
|---|
| 从类 java.lang.Throwable 继承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public int bytesTransferred
| 构造方法详细信息 |
|---|
public InterruptedIOException()
InterruptedIOException,使用 null 作为其错误消息。
public InterruptedIOException(String s)
InterruptedIOException。稍后可以通过 java.lang.Throwable 类的 Throwable.getMessage() 方法获取字符串 s。
s - 详细消息。
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。