Class AsyncResource.CancellationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.util.AsyncResource.CancellationException
- Enclosing class:
AsyncResource<V>
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)
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
CancellationException
public CancellationException()
-