1 /* 2 * This file is part of JGAP. 3 * 4 * JGAP offers a dual license model containing the LGPL as well as the MPL. 5 * 6 * For licencing information please see the file license.txt included with JGAP 7 * or have a look at the top of class org.jgap.Chromosome which representatively 8 * includes the JGAP license policy applicable for any file delivered with JGAP. 9 */ 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 24 extends Exception { 25 /** String containing the CVS revision. Read out via reflection!*/ 26 private final static String CVS_REVISION = "$Revision: 1.5 $"; 27 28 /** 29 * Constructs a new InvalidConfigurationException instance with the 30 * given error message. 31 * 32 * @param a_message An error message describing the reason this exception 33 * is being thrown. 34 * 35 * @author Neil Rotstan 36 * @since 1.0 37 */ 38 public InvalidConfigurationException(final String a_message) { 39 super(a_message); 40 } 41 } 42