public class ThrowBoundaryError extends StaticError implements StaticThrowable<ThrowBoundaryError>
MemoryArea.enter(Runnable logic)
when a Throwable allocated from memory that
is not usable in the surrounding scope tries to propagate out of the
scope of the enter.StaticThrowable.Hidden| Constructor and Description |
|---|
ThrowBoundaryError()
Deprecated.
since RTSJ 2.0; application code should use
get()
instead. |
ThrowBoundaryError(java.lang.String description)
Deprecated.
since RTSJ 2.0; application code should use
get()
instead. |
| Modifier and Type | Method and Description |
|---|---|
static ThrowBoundaryError |
get()
Gets the preallocated instance of this exception.
|
ThrowBoundaryError |
getSingleton()
For the case of legacy code that creates an RTSJ exception
explicity, this provides a means of obtaining its singleton version.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, init, init, init, init, initCause, isStatic, printStackTrace, printStackTrace, printStackTrace, setStackTrace, writeReplace@Deprecated public ThrowBoundaryError()
get()
instead.ThrowBoundaryError, but application code should
use get() instead.@Deprecated public ThrowBoundaryError(java.lang.String description)
get()
instead.ThrowBoundaryError.description - The reason for throwing this error.public static ThrowBoundaryError get()
public ThrowBoundaryError getSingleton()
StaticThrowablegetSingleton in interface StaticThrowable<ThrowBoundaryError>getSingleton in class StaticError