java.lang
クラス InterruptedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.InterruptedException

public class InterruptedException
extends Exception

あるスレッドが長い間の待ち状態、休止状態、または一時停止の状態であるとき、他のスレッドが Thread クラスの interrupt メソッドを使ってこの状態に割り込みをかけた場合にスローされます。

導入されたバージョン:
JDK1.0
関連項目:
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
 

コンストラクタの詳細

InterruptedException

public InterruptedException()
詳細メッセージを指定しないで InterruptedException を構築します。

InterruptedException

public InterruptedException(String s)
指定された詳細メッセージを持つ InterruptedException を構築します。
パラメータ:
s - 詳細メッセージ