KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgap > xml > ImproperXMLException


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.xml;
11
12 /**
13  * An ImproperXMLException will be thrown when an XML document or element is
14  * parsed but is found to be structured improperly or missing required data.
15  * The error message should be consulted for the exact reason the exception
16  * is being thrown.
17  *
18  * @author Neil Rotstan
19  * @author Klaus Meffert
20  * @since 1.0
21  */

22 public class ImproperXMLException
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.6 $";
27
28   /**
29    * Constructs a new ImproperXMLException instance with the given error
30    * 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 ImproperXMLException(final String JavaDoc a_message) {
39     super(a_message);
40   }
41 }
42
Popular Tags