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 licencing 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 the
14: * setValueFromPersistentRepresentation() method of a Gene class is unable
15: * to process the string representation it has been given, either because that
16: * representation is not supported by that Gene implementation or because
17: * the representation is corrupt.
18: *
19: * @author Neil Rotstan
20: * @since 1.0
21: */
22: public class UnsupportedRepresentationException extends Exception {
23:
24: /** String containing the CVS revision. Read out via reflection!*/
25: private final static String CVS_REVISION = "$Revision: 1.5 $";
26:
27: /**
28: * Constructs a new UnsupportedRepresentationException 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 UnsupportedRepresentationException(final String a_message) {
38: super(a_message);
39: }
40: }
|