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(java.lang.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.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, isStatic, printStackTrace, printStackTrace, printStackTrace, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, init, init, init, init, initCause, isStatic, printStackTrace, printStackTrace, printStackTrace, setStackTrace, writeReplace
public ThrowBoundaryError()
ThrowBoundaryError
, but application code should
use get()
instead.public ThrowBoundaryError(java.lang.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()
StaticThrowable
getSingleton
in interface StaticThrowable<ThrowBoundaryError>
getSingleton
in class StaticError