Class RealtimeAllocationError
java.lang.Object
java.lang.Throwable
java.lang.Error
com.codename1.realtime.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.
-
Constructor Summary
ConstructorsConstructorDescriptionRealtimeAllocationError(String message) Creates an error with the given message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RealtimeAllocationError
Creates an error with the given message.
-