public class CeilingViolationException extends IllegalTaskStateException
java.lang.Thread attempts to lock an object
governed by an instance of PriorityCeilingEmulation and the thread or
SO's base priority exceeds the policy's ceiling.StaticThrowable.Hidden| Modifier and Type | Method and Description |
|---|---|
static CeilingViolationException |
get()
Obtains the singleton of this static throwable.
|
int |
getCallerPriority()
Gets the base priority of the SO or thread whose
attempt to synchronize resulted in the throwing of this.
|
int |
getCeiling()
Gets the ceiling of the
PriorityCeilingEmulation policy which
was
exceeded by the base priority of an SO or thread that attempted to
synchronize
on an object governed by the policy, which resulted in throwing of
this. |
CeilingViolationException |
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, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinit, init, init, init, isStatic, writeReplacepublic static CeilingViolationException get()
public int getCeiling()
PriorityCeilingEmulation policy which
was
exceeded by the base priority of an SO or thread that attempted to
synchronize
on an object governed by the policy, which resulted in throwing of
this.PriorityCeilingEmulation policy
which caused this exception to be thrown.public int getCallerPriority()
public CeilingViolationException getSingleton()
StaticThrowablegetSingleton in interface StaticThrowable<IllegalTaskStateException>getSingleton in class IllegalTaskStateException