Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public class CancellationException
- Object
- Throwable
- Exception
- RuntimeException
- IllegalStateException
- CancellationException
Thrown by
Future.get when the work was cancelled before it ran.Constructors
public CancellationException() | An exception with no message. |
public CancellationException(String message) | An exception with message. |
Inherited methods
Constructor details
CancellationException
public CancellationException()An exception with no message.
CancellationException
public CancellationException(String message)An exception with
message.Parameters
messageString- the detail message