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(Throwable) instead. |
ThrowBoundaryError(java.lang.String description)
A descriptive constructor for
ThrowBoundaryError. |
| Modifier and Type | Method and Description |
|---|---|
static ThrowBoundaryError |
get(java.lang.Throwable cause)
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.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, isStatic, 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, writeReplacepublic ThrowBoundaryError()
ThrowBoundaryError, but application code should
use get(Throwable) instead.public ThrowBoundaryError(java.lang.String description)
ThrowBoundaryError.description - The reason for throwing this error.public static ThrowBoundaryError get(java.lang.Throwable cause)
cause and set cause to cause as well.cause - The throwable that cause the scope boundary error.public ThrowBoundaryError getSingleton()
StaticThrowablegetSingleton in interface StaticThrowable<ThrowBoundaryError>getSingleton in class StaticErroraicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2021 aicas GmbH. All Rights Reserved.