public static class AsyncResource.AsyncExecutionException extends RuntimeException
AsyncResource.get()
if the this resource failed with an exception.
Call getCause()
to get the original exception.
Constructor and Description |
---|
AsyncExecutionException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
|
boolean |
isCancelled()
Returns true if this exception wraps a
AsyncResource.CancellationException , or another
AsyncExecutionException that has isCancelled() true. |
addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public AsyncExecutionException(Throwable cause)
public Throwable getCause()
Throwable
public boolean isCancelled()
AsyncResource.CancellationException
, or another
AsyncExecutionException that has isCancelled()
true.