public class SizeOutOfBoundsException extends StaticRuntimeException implements StaticThrowable<SizeOutOfBoundsException>
This exception is caused by methods of raw and phyiscal memory classes if they area provided with an invalid (negative or too large) size argument for a memory region.
StaticThrowable.Hidden| Constructor and Description |
|---|
SizeOutOfBoundsException()
Deprecated.
as of RTSJ 2.0
|
SizeOutOfBoundsException(String description)
Deprecated.
as of RTSJ 2.0
|
| Modifier and Type | Method and Description |
|---|---|
static SizeOutOfBoundsException |
get()
Gets the preallocated version of this
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, setStackTraceaddSuppressed, getSuppressed, toStringclone, 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 SizeOutOfBoundsException()
@Deprecated public SizeOutOfBoundsException(String description)
description - The detail message or null if none.public static SizeOutOfBoundsException 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 SizeOutOfBoundsException getSingleton()
StaticThrowablegetSingleton in interface StaticThrowable<SizeOutOfBoundsException>getSingleton in class StaticRuntimeExceptionaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2025 aicas GmbH. All Rights Reserved.