java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.InterruptedException
あるスレッドが長い間の待ち状態、休止状態、または一時停止の状態であるとき、他のスレッドが Thread
クラスの interrupt
メソッドを使ってこの状態に割り込みをかけた場合にスローされます。
Object.wait()
,
Object.wait(long)
,
Object.wait(long, int)
,
Thread.sleep(long)
コンストラクタの概要 | |
InterruptedException()
詳細メッセージを指定しないで InterruptedException を構築します。 |
|
InterruptedException(String s)
指定された詳細メッセージを持つ InterruptedException を構築します。 |
クラス java.lang.Throwable から継承したメソッド |
getMessage,
printStackTrace,
toString |
クラス java.lang.Object から継承したメソッド |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
コンストラクタの詳細 |
public InterruptedException()
InterruptedException
を構築します。public InterruptedException(String s)
InterruptedException
を構築します。s
- 詳細メッセージ