public class InterruptedException extends Exception
if (Thread.interrupted()) // Clears interrupted status!
throw new InterruptedException();
Object.wait(), Object.wait(long), Object.wait(long, int), Thread.sleep(long), Thread.interrupt(), Thread.interrupted(), 直列化された形式| コンストラクタと説明 |
|---|
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 - 詳細メッセージ。 バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.