01: /*
02: * This file is part of JGAP.
03: *
04: * JGAP offers a dual license model containing the LGPL as well as the MPL.
05: *
06: * For licensing information please see the file license.txt included with JGAP
07: * or have a look at the top of class org.jgap.Chromosome which representatively
08: * includes the JGAP license policy applicable for any file delivered with JGAP.
09: */
10: package org.jgap;
11:
12: /**
13: * This exception is typically thrown when an invalid value has been
14: * passed to a Configuration object, an attempt is made to lock a Configuration
15: * object before all required settings have been provided, or an attempt is
16: * made to alter a setting in a Configuration object after it has been
17: * successfully locked.
18: *
19: * @author Neil Rotstan
20: * @author Klaus Meffert
21: * @since 1.0
22: */
23: public class InvalidConfigurationException extends Exception {
24: /** String containing the CVS revision. Read out via reflection!*/
25: private final static String CVS_REVISION = "$Revision: 1.8 $";
26:
27: /**
28: * Constructs a new InvalidConfigurationException instance with the
29: * given error message.
30: *
31: * @param a_message An error message describing the reason this exception
32: * is being thrown
33: *
34: * @author Neil Rotstan
35: * @since 1.0
36: */
37: public InvalidConfigurationException(final String a_message) {
38: super (a_message);
39: }
40:
41: /**
42: * @param a_exception Throwable
43: *
44: * @author Klaus Meffert
45: * @since 3.2
46: */
47: public InvalidConfigurationException(final Throwable a_exception) {
48: super(a_exception);
49: }
50: }
|