/*
* 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;
/**
* Indicates a client class has attempted to encode a filter not supported by
* the SQLEncoder being used, or that there were io problems.
*
* @deprecated Since you're using OpenGISSFilterToSQLEncoder, use FilterToSQLException as well
* @author Chris Holmes, TOPP
* @source $URL$
*
* @deprecated scheduled for removal in 2.7, use classes in org.geotools.jdbc
*/
public class SQLEncoderException extends Exception {
private static final long serialVersionUID = -2394509611777950167L;
/**
* Constructor with message argument.
*
* @param message Reason for the exception being thrown
*/
public SQLEncoderException(String message) {
super(message);
}
/**
* Constructs a new instance of DataSourceException
*
* @param msg A message explaining the exception
* @param exp the throwable object which caused this exception
*/
public SQLEncoderException(String msg, Throwable exp) {
super(msg, exp);
}
}