is new.
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.util.concurrent.ExecutionException
public class 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 Throwable.getCause() method.
| Constructor Summary | |
|---|---|
| protected |
ExecutionException
() Constructs
an
|
| protected |
ExecutionException
(
String
Constructs
an
|
|
ExecutionException
(
String
message,
Throwable
Constructs
an
|
|
|
ExecutionException
(
Throwable
Constructs
an
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang. Throwable |
|---|
| fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
| Methods inherited from class java.lang. Object |
|---|
| clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| Constructor Detail |
|---|
protected ExecutionException()
an
protected ExecutionException(String message)
an
public ExecutionException(String message,
Throwable cause)
an
public ExecutionException(Throwable cause)
an
(cause == null ? null : cause.toString())(which typically contains the class and detail message of cause ).