java.lang.Object java.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()
protected ExecutionException(String message)
public ExecutionException(String message, Throwable cause)
public ExecutionException(Throwable cause)
(cause == null ? null : cause.toString())(which typically contains the class and detail message of cause ).