java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalArgumentException java.lang.IllegalThreadStateException javax.realtime.CeilingViolationException
public class CeilingViolationException
This exception is thrown when a schedulable object or
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.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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()