sj.exceptions
Class CurTickAlreadyDoneException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by sj.exceptions.CurTickAlreadyDoneException
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form
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
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
 

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.