Class DeadTurtleException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byDeadTurtleException
All Implemented Interfaces:
Serializable

public class DeadTurtleException
extends RuntimeException

A DeadTurtleException is thrown whenever you try to give a command to a turtle that is dead. Anything that would modify the Turtle is disallowed; anything that just observes the turtle (such as getColor() or isAlive()) is OK. Presumably you can see the color of the corpse, but you can't ask it to move.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
DeadTurtleException(String message)
           
 
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

DeadTurtleException

public DeadTurtleException(String message)