public class SizeOutOfBoundsException extends StaticRuntimeException implements StaticThrowable<SizeOutOfBoundsException>
Jamaica Real-Time Specification for Java class 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()
Constructor of this exception without detail message.
|
SizeOutOfBoundsException(String description)
Constructor
|
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, setStackTrace
addSuppressed, getSuppressed, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, init, init, init, init, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, writeReplace
public SizeOutOfBoundsException()
public SizeOutOfBoundsException(String description)
description
- 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()
StaticThrowable
getSingleton
in interface StaticThrowable<SizeOutOfBoundsException>
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.