public class SizeOutOfBoundsException extends StaticRuntimeException implements StaticThrowable<SizeOutOfBoundsException>
ImmortalPhysicalMemory
,
LTPhysicalMemory
, or VTPhysicalMemory
is given an
invalid size or when a memory access generated by a raw memory
accessor instance (See RawMemory
.) would
cause access to an invalid address.Constructor and Description |
---|
SizeOutOfBoundsException()
A constructor for
SizeOutOfBoundsException , but application code
should use get() instead. |
SizeOutOfBoundsException(java.lang.String description)
Deprecated.
since RTSJ 2.0; application code should use
get()
instead. |
Modifier and Type | Method and Description |
---|---|
static SizeOutOfBoundsException |
get()
Obtains the singleton of this static throwable.
|
SizeOutOfBoundsException |
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
public SizeOutOfBoundsException()
SizeOutOfBoundsException
, but application code
should use get()
instead.@Deprecated public SizeOutOfBoundsException(java.lang.String description)
get()
instead.SizeOutOfBoundsException
.description
- The description of the exception.public static SizeOutOfBoundsException get()
public SizeOutOfBoundsException getSingleton()
StaticThrowable
getSingleton
in interface StaticThrowable<SizeOutOfBoundsException>
getSingleton
in class StaticRuntimeException