View Javadoc

1   /*
2    * AI Soccer Project - network gaming environment for AI warriors.
3    * Copyright (C) 2001-2004  Marcin Werla, Pawel Widera
4    *
5    * This program is free software; you can redistribute it and/or
6    * modify it under the terms of the GNU General Public License
7    * as published by the Free Software Foundation; either version 2
8    * of the License, or (at your option) any later version.
9    *
10   * This program is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   * GNU General Public License for more details.
14   *
15   * You should have received a copy of the GNU General Public License
16   * along with this program; if not, you can find it here:
17   * http://www.gnu.org/licenses/gpl.html
18   */
19  
20  package aigames.soccer;
21  
22  
23  /***
24   * Thrown when move passed to soccer field is invalid or when error
25   * during move creation occurs.
26   * @version $Id: InvalidMoveException.java,v 1.3 2004/05/08 21:55:29 mwerla Exp $
27   */
28  public class InvalidMoveException extends Exception {
29      /***
30      * Constructor with additional message
31       * @param message Exception message.
32       */
33      public InvalidMoveException(String message) {
34          super(message);
35      }
36  }