/*
 *    GeoTools - OpenSource mapping toolkit
 *    http://geotools.org
 *    (C) 2003-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.
 *
 *    Created on October 15, 2003, 1:57 PM
 */
package org.geotools.text.filter;

import org.geotools.filter.text.cql2.CQLException;
import org.geotools.filter.text.cql2.Token;


/**
 * @author  Ian Schneider
 * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/cql/src/main/java/org/geotools/text/filter/FilterBuilderException.java $
 * @deprecated use the {@link CQLException} class instead, this one is going to be set to package visibility
 */
public class FilterBuilderException extends CQLException {
    /**
     * generated serial version uid
     */
    private static final long serialVersionUID = -8027243686579409436L;

    public FilterBuilderException(String message) {
        super(message);
    }

    public FilterBuilderException(String message, Token token) {
        super(message, token,null);
    }

    public FilterBuilderException(String message, Token token, Throwable cause) {
        super(message, token, cause, null);
    }
}
