public class OffsetOutOfBoundsException extends StaticRuntimeException implements StaticThrowable<OffsetOutOfBoundsException>
ImmortalPhysicalMemory
,
LTPhysicalMemory
, VTPhysicalMemory
, RawMemoryAccess
,
or RawMemoryFloatAccess
is given an invalid address.StaticThrowable.Hidden
Constructor and Description |
---|
OffsetOutOfBoundsException()
Deprecated.
since RTSJ 2.0; application code should use
get()
instead. |
OffsetOutOfBoundsException(java.lang.String description)
Deprecated.
since RTSJ 2.0; application code should use
get()
instead. |
Modifier and Type | Method and Description |
---|---|
static OffsetOutOfBoundsException |
get()
Obtains the singleton of this static throwable.
|
OffsetOutOfBoundsException |
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
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
@Deprecated public OffsetOutOfBoundsException()
get()
instead.OffsetOutOfBoundsException
, application
code should use get()
instead.@Deprecated public OffsetOutOfBoundsException(java.lang.String description)
get()
instead.OffsetOutOfBoundsException
.description
- The reason for throwing the exception.public static OffsetOutOfBoundsException get()
public OffsetOutOfBoundsException getSingleton()
StaticThrowable
getSingleton
in interface StaticThrowable<OffsetOutOfBoundsException>
getSingleton
in class StaticRuntimeException