org.jgap.xml
Class GeneCreationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jgap.xml.GeneCreationException
All Implemented Interfaces:
java.io.Serializable

public class GeneCreationException
extends java.lang.Exception

The GeneCreationException is a bit of a catch-all exception for representing problems encountered during the creation of a Gene object with a value (allele) representation found in an XML document. Typically, this exception will be thrown if the concrete class indicated in the XML file cannot be found or instantiated for some reason, or if the class does not support the methods related to XML persistence. Consult the error message for details on the specific reason for failure.

Since:
1.0
Author:
Neil Rotstan, Klaus Meffert
See Also:
Serialized Form

Constructor Summary
GeneCreationException(java.lang.String a_message)
          Constructs a new GeneCreationException instance with the given error message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneCreationException

public GeneCreationException(java.lang.String a_message)
Constructs a new GeneCreationException instance with the given error message.

Parameters:
a_message - An error message describing the reason this exception is being thrown.
Since:
1.0