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 * Thrown when configuration passed to some object is invalid or malformed.
25 * @version $Id: ConfigurationException.java,v 1.2 2004/05/08 21:55:29 mwerla Exp $
26 */
27 public class ConfigurationException extends Exception {
28 /***
29 * Constructor with nested exception.
30 * @param e Nested exception.
31 */
32 public ConfigurationException(Throwable e) {
33 super(e);
34 }
35
36 /***
37 * Basic constructor.
38 */
39 public ConfigurationException() {
40 super();
41 }
42
43 /***
44 * Constructor with additional messsage.
45 * @param message Extra exception message.
46 */
47 public ConfigurationException(String message) {
48 super(message);
49 }
50 }