public class ThreadLimitError extends StaticError implements StaticThrowable<ThreadLimitError>
Jamaica Real-Time Specification for Java class ThreadLimitError.
This exception is thrown by PhysicalMemoryManager if the system does only support a bounded number of memory filters and this bound is exceeded.
StaticThrowable.Hidden
Constructor and Description |
---|
ThreadLimitError()
Constructor of this exception without detail message.
|
ThreadLimitError(String description)
Constructor of this exception with detail message.
|
Modifier and Type | Method and Description |
---|---|
static ThreadLimitError |
get()
Gets the preallocated version of this
Throwable . |
ThreadLimitError |
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, isStatic, 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, isStatic, printStackTrace, printStackTrace, printStackTrace, setStackTrace, writeReplace
public ThreadLimitError()
public ThreadLimitError(String description)
description
- The detail message or null if none.public static ThreadLimitError 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 ThreadLimitError getSingleton()
StaticThrowable
getSingleton
in interface StaticThrowable<ThreadLimitError>
getSingleton
in class StaticError