public class MemoryAccessError extends StaticError implements StaticThrowable<MemoryAccessError>
MemoryArea. For example, when logic in a
RealtimeThread or AsyncBaseEventHandler configured with
a ScopedConfigurationParameters
object, attempts to refer to an object in a HeapMemory area.StaticThrowable.Hidden| Constructor and Description |
|---|
MemoryAccessError()
Deprecated.
since RTSJ 2.0; application code should use
get()
instead. |
MemoryAccessError(java.lang.String description)
Deprecated.
since RTSJ 2.0; application code should use
get()
instead. |
| Modifier and Type | Method and Description |
|---|---|
static MemoryAccessError |
get()
Deprecated.
since RTSJ 2.0; application code should use
get()
instead. |
MemoryAccessError |
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, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, init, init, init, init, initCause, isStatic, printStackTrace, printStackTrace, printStackTrace, setStackTrace, writeReplace@Deprecated public MemoryAccessError()
get()
instead.MemoryAccessError, but application code should
use get() instead.@Deprecated public MemoryAccessError(java.lang.String description)
get()
instead.MemoryAccessError.description - The reason for throwing this error.public static MemoryAccessError get()
get()
instead.Throwable.
It should be initialized before throwing.Throwable.public MemoryAccessError getSingleton()
StaticThrowablegetSingleton in interface StaticThrowable<MemoryAccessError>getSingleton in class StaticError