public class IllegalAssignmentError extends StaticError implements StaticThrowable<IllegalAssignmentError>
Jamaica Real-Time Specification for Java class IllegalAssignmentError.
This exception will be thrown whenever an assignment of a reference value to an object is made and the target object is not allowed to refer to the assigned object. This is the case if the assigned reference was allocated in ScopedMemory and the target object is not ScopedMemory or is not the same scope or an inner scope of the assigned reference's scope.
StaticThrowable.Hidden
Constructor and Description |
---|
IllegalAssignmentError()
Deprecated.
RTSJ 2.0: replaced by
IllegalAssignmentError.get().init() |
IllegalAssignmentError(String description)
Deprecated.
RTSJ 2.0; replaced by
IllegalAssignmentError.get().init(description) |
Modifier and Type | Method and Description |
---|---|
static IllegalAssignmentError |
get()
Gets the preallocated version of this
Throwable . |
IllegalAssignmentError |
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 IllegalAssignmentError()
IllegalAssignmentError.get().init()
public IllegalAssignmentError(String description)
IllegalAssignmentError.get().init(description)
description
- The detail message or null if none.public static IllegalAssignmentError 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 IllegalAssignmentError getSingleton()
StaticThrowable
getSingleton
in interface StaticThrowable<IllegalAssignmentError>
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.