example.wormgame
Class WormException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by example.wormgame.WormException
All Implemented Interfaces:
java.io.Serializable

public class WormException
extends java.lang.Exception

A WormException occurs whenever the worm dies. It's a quick way to get to the main update loop to restart the game.

See Also:
Serialized Form

Constructor Summary
WormException(java.lang.String 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

WormException

public WormException(java.lang.String message)