Class InvalidMoveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
InvalidMoveException
- 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidMoveException
public InvalidMoveException(int row,
int col,
OthelloPiece piece)
InvalidMoveException
public InvalidMoveException(OthelloPiece piece,
String err)