Exception thrown when attempting to retrieve the result of a task
that aborted by throwing an exception. This exception can be
inspected using the
ExecutionException.getCause() method.
See Also:Future since: 1.5 author: Doug Lea
Constructor Summary
protected
ExecutionException() Constructs an ExecutionException with no detail message.
protected
ExecutionException(String message) Constructs an ExecutionException with the specified detail
message.
Constructs an ExecutionException with no detail message.
The cause is not initialized, and may subsequently be
initialized by a call to
ExecutionException.initCause(Throwable) initCause .
Constructs an ExecutionException with the specified detail
message. The cause is not initialized, and may subsequently be
initialized by a call to
ExecutionException.initCause(Throwable) initCause .
Parameters: message - the detail message
Constructs an ExecutionException with the specified detail
message and cause.
Parameters: message - the detail message Parameters: cause - the cause (which is saved for later retrieval by theExecutionException.getCause() method)
Constructs an 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).
Parameters: cause - the cause (which is saved for later retrieval by theExecutionException.getCause() method)