public class ExecutionException extends Exception
Throwable.getCause() method.
Future,
Serialized Form
| Modifier | Constructor and Description |
|---|---|
protected |
ExecutionException()
Constructs an
ExecutionException with no detail message.
|
protected |
ExecutionException(String
Constructs an
ExecutionException with the specified detail message.
|
|
ExecutionException(String
Constructs an
ExecutionException with the specified detail message and cause.
|
|
ExecutionException(Throwable
Constructs an
ExecutionException with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected ExecutionException()
ExecutionException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to
initCause.
protected ExecutionException(Stringmessage)
ExecutionException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to
initCause.
message - the detail message
public ExecutionException(Stringmessage, Throwable cause)
ExecutionException with the specified detail message and cause.
message - the detail message
cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method)
public ExecutionException(Throwablecause)
ExecutionException with the specified cause. The detail message is set to
(cause == null ? null : cause.toString()) (which typically contains the class and detail message of
cause).
cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method)