Documentation of 'org.jgap.xml.GeneCreationException' Java class
GeneCreationException
org.jgap.xml

Class 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
    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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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
      • 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 thrown
        a_geneClass - the class of the gene that should be instantiated
        Since:
        3.0

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.