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

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.ThreadException

public class ThreadException
extends RuntimeException

Runtime exception which is thrown if something is wrong with a SJThread. This Exception is often thrown if there is a problem with the currently running thread. A Typical occurrence of this exception is if you forget a break; command in the program.

See Also:
SJThread
Rating red

Constructor Summary
ThreadException()
          Creates a new thread exception.
ThreadException(String errMessage)
          Creates a new thread 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

ThreadException

public ThreadException()
Creates a new thread exception.


ThreadException

public ThreadException(String errMessage)
Creates a new thread exception with a given error message.

Parameters:
errMessage - The error message for the exception.