Android
java.util.concurrent
public class

java.util.concurrent.ExecutionException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.util.concurrent.ExecutionException

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

Summary

Public Constructors

            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 Constructors

            ExecutionException()
Constructs a ExecutionException with no detail message.
            ExecutionException(String message)
Constructs a ExecutionException with the specified detail message.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public 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)

public 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)

Protected Constructors

protected ExecutionException()

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

protected ExecutionException(String message)

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
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56