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() |
boolean |
isCancelled()
Returns true if this exception wraps a
AsyncResource.CancellationException, or another
AsyncExecutionException that has isCancelled() true. |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AsyncExecutionException(Throwable cause)
public boolean isCancelled()
AsyncResource.CancellationException, or another
AsyncExecutionException that has isCancelled() true.Copyright © 2021. All rights reserved.