org.jgap.xml
Class GeneCreationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jgap.xml.GeneCreationException
-
- All Implemented Interfaces:
- java.io.Serializable
public class GeneCreationException extends java.lang.ExceptionThe 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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description GeneCreationException(java.lang.Class a_geneClass, java.lang.Throwable cause)Constructs a new GeneCreationException instance with the given error message.GeneCreationException(java.lang.String a_message)Constructs a new GeneCreationException instance with the given error message.
-
-
-
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
-
GeneCreationException
public GeneCreationException(java.lang.Class a_geneClass, java.lang.Throwable cause)Constructs a new GeneCreationException instance with the given error message.- Parameters:
a_message- an error message describing the reason this exception is being throwna_geneClass- the class of the gene that should be instantiated- Since:
- 3.0
-
-
DMelt 3.0 © DataMelt by jWork.ORG