Class InvalidMoveException

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

public class InvalidMoveException
extends Exception

Exception thrown when some player makes an invalid move.

Version:
1.0
Author:
Matt Hoffman
See Also:
Serialized Form

Constructor Summary
InvalidMoveException(int row, int col, OthelloPiece piece)
           
InvalidMoveException(OthelloPiece piece, String err)
           
 
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

InvalidMoveException

public InvalidMoveException(int row,
                            int col,
                            OthelloPiece piece)

InvalidMoveException

public InvalidMoveException(OthelloPiece piece,
                            String err)