Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

ExecutionException Class Reference

List of all members.


Detailed Description

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.

See also:
Future
Since:
1.5
Author:
Doug Lea

Public Member Functions

 ExecutionException (String message, Throwable cause)
 Constructs a ExecutionException with the specified detail message and cause.
 ExecutionException (Throwable cause)
 Constructs a ExecutionException with the specified cause.

Protected Member Functions

 ExecutionException ()
 Constructs a ExecutionException with no detail message.
 ExecutionException (String message)
 Constructs a ExecutionException with the specified detail message.

Static Private Attributes

static final long serialVersionUID = 7830266012832686185L

Constructor & Destructor Documentation

ExecutionException (  )  [protected]

Constructs a ExecutionException with no detail message.

The cause is not initialized, and may subsequently be initialized by a call to initCause.

ExecutionException ( String  message  )  [protected]

Constructs a ExecutionException with the specified detail message.

The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters:
message the detail message

ExecutionException ( String  message,
Throwable  cause 
)

Constructs a ExecutionException with the specified detail message and cause.

Parameters:
message the detail message
cause the cause (which is saved for later retrieval by the getCause() method)

ExecutionException ( Throwable  cause  ) 

Constructs a 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 the getCause() method)


Member Data Documentation

final long serialVersionUID = 7830266012832686185L [static, private]