public class InterruptedException extends 异常
如果(线程。interrupted())/清除中断状态!把新的interruptedexception();
Object.wait(),
Object.wait(long),
Object.wait(long, int),
Thread.sleep(long),
Thread.interrupt(),
Thread.interrupted(),
Serialized Form
| Constructor and Description |
|---|
InterruptedException()
构建一个
InterruptedException无详细信息。
|
InterruptedException(String s)
构建一个指定详细信息的
InterruptedException。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InterruptedException()
InterruptedException无详细信息。
public InterruptedException(String s)
InterruptedException。
s -详细信息。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.