Top Description Fields Constructors
java.util.concurrent

public Class ExecutionException

extends Exception
Class Inheritance

Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception. This exception can be inspected using the getCause() method.
Author
Doug Lea
Since
1.5
See Also
Future

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
protected
ExecutionException()

Constructs an ExecutionException with no detail message.

protected
ExecutionException(String
the detail message
message
)

Constructs an ExecutionException with the specified detail message.

public
ExecutionException(String
the detail message
message
,
Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs an ExecutionException with the specified detail message and cause.

public
ExecutionException(Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs an ExecutionException with the specified cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

ExecutionExceptionback to summary
protected ExecutionException()

Constructs an ExecutionException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

ExecutionExceptionback to summary
protected ExecutionException(String message)

Constructs an ExecutionException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters
message:String

the detail message

ExecutionExceptionback to summary
public ExecutionException(String message, Throwable cause)

Constructs an ExecutionException with the specified detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)

ExecutionExceptionback to summary
public ExecutionException(Throwable cause)

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:Throwable

the cause (which is saved for later retrieval by the getCause() method)