public static class AsyncResource.CancellationException

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. AsyncResource.CancellationException
Exception thrown when the AsyncResource is cancelled. Use AsyncResource.isCancelled(java.lang.Throwable) to test a particular exception to see if it resulted from cancelling an AsyncResource as this will return true if the exception itself is a CancellationException, or if the exception was caused by a CancellationException.

See also

  • #isCancelled(java.lang.Throwable)

Constructors

public CancellationException()

Inherited methods

Constructor details

CancellationException

public CancellationException()