public class ThrowBoundaryError extends StaticError implements StaticThrowable<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()
Deprecated.
as of RTSJ 2.0
|
ThrowBoundaryError(String description)
Deprecated.
as of RTSJ 2.0
|
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, 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, initCause, isStatic, printStackTrace, printStackTrace, printStackTrace, setStackTrace, writeReplace
@Deprecated public ThrowBoundaryError()
ThrowBoundaryError
, but application code should
use get()
instead.@Deprecated 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()
StaticThrowable
getSingleton
in interface StaticThrowable<ThrowBoundaryError>
getSingleton
in class StaticError
public 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-2025 aicas GmbH. All Rights Reserved.