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
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 |
SpeciesNotFoundException
public SpeciesNotFoundException(String species)
- The
String
passed to the constructor is the ant
species unknown to this Nest.
getSpecies
public String getSpecies()
- Returns the ant species which caused this exception.