edu.emory.mathcs.backport.java.util.concurrent
public class ExecutionException extends java.lang.Exception
Throwable.getCause()
method.Future
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
ExecutionException()
Constructs an ExecutionException with no detail message.
|
protected |
ExecutionException(java.lang.String message)
Constructs an ExecutionException with the specified detail
message.
|
|
ExecutionException(java.lang.String message,
java.lang.Throwable cause)
Constructs an ExecutionException with the specified detail
message and cause.
|
|
ExecutionException(java.lang.Throwable cause)
Constructs an ExecutionException with the specified cause.
|
protected ExecutionException()
initCause
.protected ExecutionException(java.lang.String message)
initCause
.message
- the detail messagepublic ExecutionException(java.lang.String message, java.lang.Throwable cause)
message
- the detail messagecause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method)public ExecutionException(java.lang.Throwable cause)
(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)