/* * Geotools 2 - OpenSource mapping toolkit * (C) 2003, Geotools Project Management Committee (PMC) * (C) 2003, Institut de Recherche pour le Développement * * 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; either * version 2.1 of the License, or (at your option) any later version. * * 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. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ package org.geotools.gc; /** * Thrown by {@link GridGeometry} when a grid geometry is in an invalid state. For example * this exception is thrown when {@link GridGeometry#getGridRange() getGridRange()} is * invoked while the grid geometry were built with a null {@link GridRange}. * * @source $URL$ * @version $Id$ * @author Martin Desruisseaux * * @deprecated Replaced by {@link org.geotools.coverage.grid.InvalidGridGeometryException}. */ public class InvalidGridGeometryException extends org.geotools.coverage.grid.InvalidGridGeometryException { /** * Serial number for interoperability with different versions. */ private static final long serialVersionUID = -7386283388753448743L; /** * Construct an exception with no detail message. */ public InvalidGridGeometryException() { } /** * Construct an exception with the specified detail message. */ public InvalidGridGeometryException(final String message) { super(message); } /** * Construct an exception with the specified detail message and cause. */ public InvalidGridGeometryException(final String message, final Throwable cause) { super(message, cause); } }