- Enclosing class:
- AsyncResource<V>
public static class AsyncResource.CancellationException
extends RuntimeException
Exception thrown when the AsyncResource is cancelled. Use {@link AsyncResource#isCancelled(java.lang.Throwable)
to test a particular exception to see if it resulted from cancelling an AsyncResource as this will
return turn true if the exception itself is a CancellationException, or if the exception was caused by
a CancellationException.
- Since:
- 7.0
- See Also:
AsyncResource.isCancelled(java.lang.Throwable)