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 TimeoutException

  1. Object
  2. Throwable
  3. Exception
  4. TimeoutException
Thrown by Future.get(long, TimeUnit) when the work has not finished in time.

Constructors

public TimeoutException()An exception with no message.
public TimeoutException(String message)An exception with message.

Inherited methods

Constructor details

TimeoutException

public TimeoutException()
An exception with no message.

TimeoutException

public TimeoutException(String message)
An exception with message.

Parameters

message String
the detail message