01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: *
05: * (C) 2003-2006, Geotools Project Managment Committee (PMC)
06: * (C) 2001, Institut de Recherche pour le Développement
07: *
08: * This library is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU Lesser General Public
10: * License as published by the Free Software Foundation; either
11: * version 2.1 of the License, or (at your option) any later version.
12: *
13: * This library is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * Lesser General Public License for more details.
17: */
18: package org.geotools.referencing.operation.projection;
19:
20: /**
21: * Thrown by {@link MapProjection} when a map projection failed because the point is
22: * outside the envelope of validity. Bounds are usually 90°S to 90°N and 180°W to 180°E.
23: *
24: * @since 2.0
25: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/referencing/src/main/java/org/geotools/referencing/operation/projection/PointOutsideEnvelopeException.java $
26: * @version $Id: PointOutsideEnvelopeException.java 20874 2006-08-07 10:00:01Z jgarnett $
27: * @author Martin Desruisseaux
28: */
29: public class PointOutsideEnvelopeException extends ProjectionException {
30: /**
31: * Serial number for interoperability with different versions.
32: */
33: private static final long serialVersionUID = -4384490413772200352L;
34:
35: /**
36: * Constructs a new exception with no detail message.
37: */
38: public PointOutsideEnvelopeException() {
39: super ();
40: }
41:
42: /**
43: * Constructs a new exception with the specified detail message.
44: *
45: * @param message The error message.
46: */
47: public PointOutsideEnvelopeException(final String message) {
48: super(message);
49: }
50: }
|