001    /**
002     * NoApplicableSiliarityFunctionException.java
003     * jCOLIBRI2 framework. 
004     * @author Juan A. Recio-García.
005     * GAIA - Group for Artificial Intelligence Applications
006     * http://gaia.fdi.ucm.es
007     * 03/01/2007
008     */
009    package jcolibri.exception;
010    
011    /**
012     * Trying to apply a similarity function to an incompatible attribute
013     * 
014     * @author Juan A. Recio-García
015     * @version 2.0
016     */
017    public class NoApplicableFilterPredicateException extends Exception {
018            private static final long serialVersionUID = 1L;
019    
020            public NoApplicableFilterPredicateException(Class predicate, Class c)
021            {
022                    super("Filter predicate: "+predicate+" not applicable to type: "+c);
023            }
024            
025            public NoApplicableFilterPredicateException(String msg)
026            {
027                    super(msg);
028            }
029            
030            public NoApplicableFilterPredicateException(Exception ex)
031            {
032                    super(ex);
033            }
034    }