public class ExecutionException extends 异常
Throwable.getCause()方法检验。
Future,
Serialized Form
| Modifier | Constructor and Description |
|---|---|
protected |
ExecutionException()
构建一个
ExecutionException无详细信息。
|
protected |
ExecutionException(String message)
构建一个指定详细信息的
ExecutionException。
|
|
ExecutionException(String message, Throwable cause)
构建指定详细信息而导致
ExecutionException。
|
|
ExecutionException(Throwable cause)
构建与指定的原因
ExecutionException。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected ExecutionException()
ExecutionException无详细信息。原因是没有初始化,初始化,随后可通过调用
initCause。
protected ExecutionException(String message)
ExecutionException。原因是没有初始化,初始化,随后可通过调用
initCause。
message -详细信息
public ExecutionException(String message, Throwable cause)
ExecutionException。
message -详细信息
cause的原因(这是以后的
Throwable.getCause()方法检索)
public ExecutionException(Throwable cause)
ExecutionException。的详细信息将
(cause == null ? null : cause.toString())(通常包含
cause类和详细信息)。
cause的原因(这是以后的
Throwable.getCause()方法检索)
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.