@GwtCompatible public class ExecutionError extends Error
Error variant of
ExecutionException. As with
ExecutionException, the error's
cause comes from a failed task, possibly run in another thread. That cause should itself be an
Error; if not, use
ExecutionException or
UncheckedExecutionException. This allows the client code to continue to distinguish between exceptions and errors, even when they come from other threads.
| Modifier | Constructor and Description |
|---|---|
protected |
ExecutionError()
Creates a new instance with
null as its detail message.
|
|
ExecutionError(Error
Creates a new instance with the given cause.
|
protected |
ExecutionError(String
Creates a new instance with the given detail message.
|
|
ExecutionError(String
Creates a new instance with the given detail message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected ExecutionError()
null as its detail message.
protected ExecutionError(Stringmessage)
public ExecutionError(Stringmessage, Error cause)
public ExecutionError(Errorcause)