se.lth.cs.realtime.semaphore
Class SemViolation

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byse.lth.cs.realtime.RTError
              extended byse.lth.cs.realtime.semaphore.SemViolation
All Implemented Interfaces:
java.io.Serializable

public final class SemViolation
extends RTError

Unchecked exception in form of an Error, to be thrown when semaphore methods are misused. At the moment of writing, the only case is when trying to unlock a mutex semaphore without first having acquired it.

See Also:
License, RTError, Error, Serialized Form

Constructor Summary
SemViolation(java.lang.String error)
           
 
Methods inherited from class se.lth.cs.realtime.RTError
getMillis, getSequenceNumber
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SemViolation

public SemViolation(java.lang.String error)