|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
es.udc.gii.common.eaf.exception.WrongIndividualException
public class WrongIndividualException
Some algorithms require specific instances of Individual
subclases.
Whenever those algorithms find an individual of a type different from that
required, this exception is thrown.
Constructor Summary | |
---|---|
WrongIndividualException()
Creates a new instance of WrongIndividualException without detail message. |
|
WrongIndividualException(java.lang.Class<T> requiredClass,
java.lang.Class<?> foundClass)
Constructs an instance of WrongIndividualException . |
|
WrongIndividualException(java.lang.String msg)
Constructs an instance of WrongIndividualException with the specified detail message. |
Method Summary |
---|
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 |
---|
public WrongIndividualException()
WrongIndividualException
without detail message.
public WrongIndividualException(java.lang.String msg)
WrongIndividualException
with the specified detail message.
msg
- the detail message.public WrongIndividualException(java.lang.Class<T> requiredClass, java.lang.Class<?> foundClass)
WrongIndividualException
.
requiredClass
- - Class of the required Individual subtype required.foundClass
- - Class of the Individual subtype found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |