public class ScopedCycleException extends StaticRuntimeException implements StaticThrowable<ScopedCycleException>
This exception is thrown by MemoryArea.enter() if entering a ScopedMemory area that has already been entered with a different partent area, i.e., entering it is not permitted by the single parent rule.
StaticThrowable.Hidden| Constructor and Description |
|---|
ScopedCycleException()
Constructor of this exception without detail message.
|
ScopedCycleException(java.lang.String description)
Constructor of this exception with detail message.
|
| Modifier and Type | Method and Description |
|---|---|
static ScopedCycleException |
get()
Gets the preallocated version of this
Throwable. |
ScopedCycleException |
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 ScopedCycleException()
public ScopedCycleException(java.lang.String description)
description - The detail message or null if none.public static ScopedCycleException get()
Throwable. Allocation is
done in memory that acts like ImmortalMemory. The message and
cause are cleared and the stack trace is filled out.public ScopedCycleException getSingleton()
StaticThrowablegetSingleton in interface StaticThrowable<ScopedCycleException>aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2021 aicas GmbH. All Rights Reserved.