/*
 *    GeoTools - OpenSource mapping toolkit
 *    http://geotools.org
 *    (C) 2002-2006, GeoTools Project Managment Committee (PMC)
 *        
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License as published by the Free Software Foundation;
 *    version 2.1 of the License.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 */
package org.geotools.filter;

/**
 * Defines an exception for a malformed filter.
 *
 * @author Rob Hranac, Vision for New York
 * @author Chris Holmes, TOPP
 * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/main/src/main/java/org/geotools/filter/MalformedFilterException.java $
 * @version $Id: MalformedFilterException.java 20694 2006-07-24 14:58:14Z jgarnett $
 */
public class MalformedFilterException extends Exception {
    /**
     * Constructor with a message.
     *
     * @param message information on the error.
     */
    public MalformedFilterException(String message) {
        super(message);
    }

    /**
     * Constructs an instance of <code>MalformedFilterException</code> with the
     * specified root cause.
     *
     * @param cause the root cause of the exceptions.
     */
    public MalformedFilterException(Exception cause) {
        super(cause);
    }

    /**
     * Constructs an instance of <code>MalformedFilterException</code> with the
     * specified detail message and root cause.
     *
     * @param msg the detail message.
     * @param cause the root cause of the exceptions.
     */
    public MalformedFilterException(String msg, Exception cause) {
        super(msg, cause);
    }
}
