Class AsyncResource.CancellationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.util.AsyncResource.CancellationException
All Implemented Interfaces:
Serializable
Enclosing class:
AsyncResource<V>

public static class AsyncResource.CancellationException extends RuntimeException

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.

Since

7.0

See also
  • #isCancelled(java.lang.Throwable)
See Also:
  • Constructor Details

    • CancellationException

      public CancellationException()