KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgap > UnsupportedRepresentationException


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 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
23     extends Exception JavaDoc {
24
25   /** String containing the CVS revision. Read out via reflection!*/
26   private final static String JavaDoc CVS_REVISION = "$Revision: 1.5 $";
27
28   /**
29    * Constructs a new UnsupportedRepresentationException 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 UnsupportedRepresentationException(final String JavaDoc a_message) {
39     super(a_message);
40   }
41 }
42
Popular Tags