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

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

public class CurTickAlreadyDoneException
extends RuntimeException

Exception thrown if tick is already done and someone tries to do something in the tick. This is for example the case if a tick is done and the method EmbeddedSJProgram.gotoB(Enum) is called.

Rating red

Constructor Summary
CurTickAlreadyDoneException()
          creates a new current-tick-not-done-exception.
CurTickAlreadyDoneException(String errMessage)
          Creates a new new current-tick-not-done-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

CurTickAlreadyDoneException

public CurTickAlreadyDoneException()
creates a new current-tick-not-done-exception.


CurTickAlreadyDoneException

public CurTickAlreadyDoneException(String errMessage)
Creates a new new current-tick-not-done-exception with a given error message.

Parameters:
errMessage - The error message for the exception.