/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2002-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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$
* @version $Id$
*/
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);
}
}