public class IllegalAssignmentError extends StaticError implements StaticThrowable<IllegalAssignmentError>
ScopedMemory
, to a field of an object in
immortal memory.Constructor and Description |
---|
IllegalAssignmentError()
A constructor for
IllegalAssignmentError , but the application
should use get() instead, e.g., IllegalAssignmentError.get().init() . |
IllegalAssignmentError(java.lang.String description)
Deprecated.
since RTSJ 2.0; application code should use
get()
instead, e.g., IllegalAssignmentError.get().init(description) . |
Modifier and Type | Method and Description |
---|---|
static IllegalAssignmentError |
get()
Obtains the singleton of this static 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
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 IllegalAssignmentError()
IllegalAssignmentError
, but the application
should use get()
instead, e.g., IllegalAssignmentError.get().init()
.@Deprecated public IllegalAssignmentError(java.lang.String description)
get()
instead, e.g., IllegalAssignmentError.get().init(description)
.IllegalAssignmentError
.description
- The reason for throwing the error.public static IllegalAssignmentError get()
public IllegalAssignmentError getSingleton()
StaticThrowable
getSingleton
in interface StaticThrowable<IllegalAssignmentError>
getSingleton
in class StaticError