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.
|
static ThrowBoundaryError |
get(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, printStackTrace, printStackTrace, printStackTrace, setStackTrace
addSuppressed, getSuppressed, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, init, init, init, init, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, writeReplace
public 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()
public static ThrowBoundaryError get(Throwable cause)
cause
and set cause to cause
as well.cause
- The throwable that cause the scope boundary error.public ThrowBoundaryError getSingleton()
StaticThrowable
getSingleton
in interface StaticThrowable<ThrowBoundaryError>
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.