Current Forum: Homework 6 - Part II |
Date: Sat Dec 8 2001 3:14 pm |
Author: Dozzi, Giancarlo <gdozzi@andrew.cmu.edu> |
Subject: IllegalMoveException access |
|
|
The MyPlayer class calls makeMove (it makes the moves on a copy of the board so that it can look ahead), but doesn't have access to IllegalMoveException. The compiler sees the call to makeMove and says that getMove() has to throw an IllegalMove exception...but how is this possible if we can't access it? |
|