de.cau.cs.kieler.sj.exceptions
Class PriorityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.cau.cs.kieler.sj.exceptions.PriorityException

public class PriorityException
extends RuntimeException

Thrown if there is something wrong with the priority for a thread. This could be the case if a priority is redundant or negative. The SC name for this exception is SC_ERROR_PRIORITY.

Rating red

Constructor Summary
PriorityException()
          Creates an new priority exception.
PriorityException(String errMessage)
          Creates a new priority exception with a given error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PriorityException

public PriorityException()
Creates an new priority exception.


PriorityException

public PriorityException(String errMessage)
Creates a new priority exception with a given error message.

Parameters:
errMessage - The error message for the exception.