edu.lhup.ai
Class TurnException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.lhup.ai.TurnException
All Implemented Interfaces:
Serializable

public class TurnException
extends Exception

A custom exception object that will be thrown anytime an attempt is made by a player to take an illegal turn.

This software is for educational purposes only.

Author:
Mark Cohen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
TurnException(String str)
           
TurnException(String str, Throwable t)
           
 
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

TurnException

public TurnException(String str)

TurnException

public TurnException(String str,
                     Throwable t)