Discussion Board
There are no previous messagesGo to the following message
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?
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
IllegalMoveException access      Dozzi, Giancarlo      Sat Dec 8 2001 3:14 pm       
Re: IllegalMoveException access      Ghosh, Debmallo S.      Sat Dec 8 2001 3:35 pm       
Re: IllegalMoveException access      Dozzi, Giancarlo      Sat Dec 8 2001 4:08 pm       
Re: IllegalMoveException access      Maxim, Michael G.      Sat Dec 8 2001 7:08 pm       

Back to previous screen