public class ThrowBoundaryError extends StaticError implements StaticThrowable<ThrowBoundaryError>
Jamaica Real-Time Specification for Java class ThrowBoundaryError.
This exception is thrown by MemoryArea.enter when the logic performed within the MemoryArea returned by throwing an exception and this exception is allocated in a memory area that is no more accessible after returning from enter.
StaticThrowable.Hidden| Constructor and Description |
|---|
ThrowBoundaryError()
A constructor for
ThrowBoundaryError, but application code should
use get() instead. |
ThrowBoundaryError(String description)
A descriptive constructor for
ThrowBoundaryError. |
| Modifier and Type | Method and Description |
|---|---|
static ThrowBoundaryError |
get()
Gets the preallocated instance of this exception and set the message
and backtrace from
cause and set cause to cause as well. |
ThrowBoundaryError |
getSingleton()
For the case of legacy code that creates an RTSJ exception
explicity, this provides a means of obtaining its singleton version.
|
ThrowBoundaryError |
init(Throwable cause)
Initialize the content of
StaticThrowableStorage with
just a cause. |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, isStatic, printStackTrace, printStackTrace, printStackTrace, setStackTraceaddSuppressed, getSuppressed, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, init, init, init, initCause, isStatic, printStackTrace, printStackTrace, printStackTrace, setStackTrace, writeReplacepublic ThrowBoundaryError()
ThrowBoundaryError, but application code should
use get() instead.public ThrowBoundaryError(String description)
ThrowBoundaryError.description - The reason for throwing this error.public static ThrowBoundaryError get()
cause and set cause to cause as well.public ThrowBoundaryError getSingleton()
StaticThrowablegetSingleton in interface StaticThrowable<ThrowBoundaryError>getSingleton in class StaticErrorpublic ThrowBoundaryError init(Throwable cause)
StaticThrowableStorage with
just a cause.init in interface StaticThrowable<ThrowBoundaryError>cause - another Throwable that led to this one.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.