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 RealtimeAllocationError

  1. Object
  2. Throwable
  3. Error
  4. RealtimeAllocationError

Thrown out of a RealtimeTask’s cycle() when the cycle allocates beyond its budget (RealtimeParameters.setAllocationBudget(int), zero unless set).

It ends the steady state: the thread delivers it to RealtimeTask.failed(Throwable) and stops. The message names the class whose allocation was refused. The build rejects the allocations it can see, so this one came from a path the check cannot follow – a call through an interface or a method overridden in several classes.

Constructors

public RealtimeAllocationError(String message)Creates an error with the given message.

Inherited methods

Constructor details

RealtimeAllocationError

public RealtimeAllocationError(String message)
Creates an error with the given message.