es.udc.gii.common.eaf.exception
Class WrongIndividualException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by es.udc.gii.common.eaf.exception.WrongIndividualException
All Implemented Interfaces:
java.io.Serializable

public class WrongIndividualException
extends java.lang.RuntimeException

Author:
rafa
See Also:
Serialized Form

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

WrongIndividualException

public WrongIndividualException()
Creates a new instance of WrongIndividualException without detail message.


WrongIndividualException

public WrongIndividualException(java.lang.String msg)
Constructs an instance of WrongIndividualException with the specified detail message.

Parameters:
msg - the detail message.

WrongIndividualException

public WrongIndividualException(java.lang.Class<T> requiredClass,
                                java.lang.Class<?> foundClass)
Constructs an instance of WrongIndividualException.

Parameters:
requiredClass - - Class of the required Individual subtype required.
foundClass - - Class of the Individual subtype found.