jxtaimpl
Class SpeciesNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jxtaimpl.SpeciesNotFoundException
All Implemented Interfaces:
Serializable

public class SpeciesNotFoundException
extends Exception

This class is used for throwing an exception whenever a wrong ant species is used. A wrong ant species is an ant species which does not appear in the XML document called "jxtaimpl.xml" which is in the "config" directory of the jxtaDist distribution.

See Also:
Serialized Form

Constructor Summary
SpeciesNotFoundException(String species)
          The String passed to the constructor is the ant species unknown to this Nest.
 
Method Summary
 String getSpecies()
          Returns the ant species which caused this exception.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpeciesNotFoundException

public SpeciesNotFoundException(String species)
The String passed to the constructor is the ant species unknown to this Nest.

Method Detail

getSpecies

public String getSpecies()
Returns the ant species which caused this exception.