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 snifos.exception;
21  
22  
23  /***
24   * This exception is thrown when invalid messag is passed.
25   * @version $Id: InvalidMessageException.java,v 1.2 2004/05/08 21:55:29 mwerla Exp $
26   */
27  public class InvalidMessageException extends Exception {
28      /***
29      * Constructor with nested exception.
30       * @param e Nested exception.
31       */
32      public InvalidMessageException(Exception e) {
33          super(e);
34      }
35  
36      /***
37       * Simple constructor.
38       */
39      public InvalidMessageException() {
40          super();
41      }
42  }