public class MITViolationException extends StaticRuntimeException implements StaticThrowable<MITViolationException>
Jamaica Real-Time Specification for Java class MITViolationException.
This exception is thrown by AsyncEvent.fire() when the fire caused a release of an event handler that is earlier than the MIT since the last release of that handler and the MIT violation policy for this handler is EXCEPT.
StaticThrowable.Hidden
Constructor and Description |
---|
MITViolationException()
Constructor of this exception without detail message.
|
MITViolationException(String description)
Constructor of this exception with detail message.
|
Modifier and Type | Method and Description |
---|---|
static MITViolationException |
get()
Gets the preallocated version of this
Throwable . |
MITViolationException |
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 MITViolationException()
public MITViolationException(String description)
description
- The detail message or null if none.public static MITViolationException 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 MITViolationException getSingleton()
StaticThrowable
getSingleton
in interface StaticThrowable<MITViolationException>
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.