InterruptedException
来源:互联网 发布:想自学编程 编辑:程序博客网 时间:2024/06/07 11:45
InterruptedException
关键信息点:
构造方法摘要
InterruptedException()
构造不带详细消息的 InterruptedException。
InterruptedException(String s)
构造带指定详细消息的 InterruptedException。
概述 软件包 类 使用 树 已过时 索引 帮助
JavaTM 2 Platform
Standard Ed. 5.0
上一个类 下一个类 框架 无框架 所有类
摘要: 嵌套 | 字段 | 构造方法 | 方法 详细信息: 字段 | 构造方法 | 方法
--------------------------------------------------------------------------------
java.lang
类 InterruptedException
java.lang.Object
继承者 java.lang.Throwable
继承者 java.lang.Exception
继承者 java.lang.InterruptedException
所有已实现的接口:
java.io.Serializable
--------------------------------------------------------------------------------
public class InterruptedExceptionextends Exception当线程在很长一段时间内一直处于正在等待、休眠或暂停状态,而另一个线程用 Thread 类中的 iterrupt 方法中断它时,抛出该异常。
从以下版本开始:
JDK1.0
另请参见:
Object.wait(), Object.wait(long), Object.wait(long, int), Thread.sleep(long), Thread.interrupt(), Thread.interrupted(), 序列化表格
--------------------------------------------------------------------------------
构造方法摘要
InterruptedException()
构造不带详细消息的 InterruptedException。
InterruptedException(String s)
构造带指定详细消息的 InterruptedException。
方法摘要
从类 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
构造方法详细信息
InterruptedException
public InterruptedException()构造不带详细消息的 InterruptedException。
--------------------------------------------------------------------------------
InterruptedException
public InterruptedException(String s)构造带指定详细消息的 InterruptedException。
参数:
s - 详细消息。
--------------------------------------------------------------------------------
概述 软件包 类 使用 树 已过时 索引 帮助
JavaTM 2 Platform
Standard Ed. 5.0
上一个类 下一个类 框架 无框架 所有类
摘要: 嵌套 | 字段 | 构造方法 | 方法 详细信息: 字段 | 构造方法 | 方法
--------------------------------------------------------------------------------
提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。
关键信息点:
构造方法摘要
InterruptedException()
构造不带详细消息的 InterruptedException。
InterruptedException(String s)
构造带指定详细消息的 InterruptedException。
概述 软件包 类 使用 树 已过时 索引 帮助
JavaTM 2 Platform
Standard Ed. 5.0
上一个类 下一个类 框架 无框架 所有类
摘要: 嵌套 | 字段 | 构造方法 | 方法 详细信息: 字段 | 构造方法 | 方法
--------------------------------------------------------------------------------
java.lang
类 InterruptedException
java.lang.Object
继承者 java.lang.Throwable
继承者 java.lang.Exception
继承者 java.lang.InterruptedException
所有已实现的接口:
java.io.Serializable
--------------------------------------------------------------------------------
public class InterruptedExceptionextends Exception当线程在很长一段时间内一直处于正在等待、休眠或暂停状态,而另一个线程用 Thread 类中的 iterrupt 方法中断它时,抛出该异常。
从以下版本开始:
JDK1.0
另请参见:
Object.wait(), Object.wait(long), Object.wait(long, int), Thread.sleep(long), Thread.interrupt(), Thread.interrupted(), 序列化表格
--------------------------------------------------------------------------------
构造方法摘要
InterruptedException()
构造不带详细消息的 InterruptedException。
InterruptedException(String s)
构造带指定详细消息的 InterruptedException。
方法摘要
从类 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
构造方法详细信息
InterruptedException
public InterruptedException()构造不带详细消息的 InterruptedException。
--------------------------------------------------------------------------------
InterruptedException
public InterruptedException(String s)构造带指定详细消息的 InterruptedException。
参数:
s - 详细消息。
--------------------------------------------------------------------------------
概述 软件包 类 使用 树 已过时 索引 帮助
JavaTM 2 Platform
Standard Ed. 5.0
上一个类 下一个类 框架 无框架 所有类
摘要: 嵌套 | 字段 | 构造方法 | 方法 详细信息: 字段 | 构造方法 | 方法
--------------------------------------------------------------------------------
提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。
0 0
- InterruptedException
- 处理 InterruptedException
- InterruptedException详解
- InterruptedException 异常
- InterruptedException的解读
- InterruptedException的解读
- 怎样处理InterruptedException
- 对InterruptedException的正确处理
- java.lang.InterruptedException
- InterruptedException的解读
- Java线程之InterruptedException
- 如何处理InterruptedException异常
- 遇见InterruptedException异常,怎么办?
- interrupt、interrupted 、isInterrupted、InterruptedException
- Java如何处理InterruptedException?
- Java线程之 InterruptedException 异常
- Java正确处理InterruptedException的方法
- java 线程 stop sleep interruptedException
- 在论坛中出现的比较难的sql问题:46(日期条件出现的奇怪问题)
- AndroidStutio按住ctr滚动鼠标齿轮改变字体大小
- linux 下命令行编译打包war 包
- Goolge Map API 源码
- 【OpenCV入门指南】第十篇 彩色直方图均衡化
- InterruptedException
- Android Studio中获取SHA1或MD5的方法
- 网络编程websocket
- 【OpenCV入门指南】第十一篇 鼠标绘图
- fastjson使用(九) -- JSONPath使用
- Django开发博客(七)——markdown优化
- android 安装 apk 遭遇 java.lang.UnsupportedOperationException: Only file:// URIs
- Android支持库——RenderScript
- 类String的详细介绍类引用