|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.util.concurrent.ExecutionException
public class ExecutionException
例外のスローにより中断されたタスクの結果を取得しようとしたときに、スローされる例外。この例外は、Throwable.getCause() メソッドを使用して調べることができます。
Future,
直列化された形式| コンストラクタの概要 | |
|---|---|
protected |
ExecutionException()
詳細メッセージを持たない ExecutionException を構築します。 |
protected |
ExecutionException(String message)
指定された詳細メッセージを持つ ExecutionException を構築します。 |
|
ExecutionException(String message,
Throwable cause)
指定した詳細メッセージと原因を持つ ExecutionException を構築します。 |
|
ExecutionException(Throwable cause)
指定した原因を持つ ExecutionException を構築します。 |
| メソッドの概要 |
|---|
| クラス 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 |
| コンストラクタの詳細 |
|---|
protected ExecutionException()
initCause を呼び出すことで初期化できます。
protected ExecutionException(String message)
initCause を呼び出すことで初期化できます。
message - 詳細メッセージ
public ExecutionException(String message,
Throwable cause)
message - 詳細メッセージcause - 原因 (あとで Throwable.getCause() メソッドを使用して取り出せるように保存される)public ExecutionException(Throwable cause)
通常、cause のクラスと詳細メッセージが含まれます。(cause == null ? null : cause.toString())
cause - 原因 (あとで Throwable.getCause() メソッドを使用して取り出せるように保存される)
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。