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

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. IllegalStateException
  6. 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

message String
the detail message