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

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.WrongComparatorException
All Implemented Interfaces:
java.io.Serializable

public class WrongComparatorException
extends java.lang.RuntimeException

Some clases require a concrete type of comparator. This exception is thrown whenever a not supported comparator is found by those classes.

Since:
1.0
Author:
Grupo Integrado de IngenierĂ­a (www.gii.udc.es)
See Also:
Serialized Form

Constructor Summary
WrongComparatorException(java.lang.Class<?> foundClass)
          Constructs an instance of WrongAlgorithmException.
WrongComparatorException(java.lang.String message)
          Constructs an isntance of this class.
 
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

WrongComparatorException

public WrongComparatorException(java.lang.Class<?> foundClass)
Constructs an instance of WrongAlgorithmException.

Parameters:
requiredClass - - Class of the required comparator subtype required.

WrongComparatorException

public WrongComparatorException(java.lang.String message)
Constructs an isntance of this class.

Parameters:
message - The concrete cause of the exception.