001    //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/branches/2.3_testing/src/org/deegree/model/coverage/PointOutsideCoverageException.java $
002    /*----------------------------------------------------------------------------
003     This file originated as a part of GeoAPI.
004    
005     GeoAPI is free software. GeoAPI may be used, modified and
006     redistributed by anyone for any purpose requring only maintaining the
007     copyright and license terms on the source code and derivative files.
008     See the OGC legal page for details.
009    
010     The copyright to the GeoAPI interfaces is held by the Open Geospatial
011     Consortium, see http://www.opengeospatial.org/ogc/legal
012    ----------------------------------------------------------------------------*/
013    package org.deegree.model.coverage;
014    
015    /**
016     * Thrown when a <code>org.opengis.coverage.Coverage.evaluate</code> method is invoked with a
017     * point outside coverage.
018     *
019     * @UML exception CV_PointOutsideCoverage
020     * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A>
021     * @version <A HREF="http://www.opengis.org/docs/01-004.pdf">Grid Coverage specification 1.0</A>
022     */
023    public class PointOutsideCoverageException extends CannotEvaluateException {
024        /**
025         * Serial number for interoperability with different versions.
026         */
027        private static final long serialVersionUID = -8718412090539227101L;
028    
029        /**
030         * Creates an exception with no message.
031         */
032        public PointOutsideCoverageException() {
033            super();
034        }
035    
036        /**
037         * Creates an exception with the specified message.
038         *
039         * @param message
040         *            The detail message. The detail message is saved for later retrieval by the
041         *            {@link #getMessage()} method.
042         */
043        public PointOutsideCoverageException( String message ) {
044            super( message );
045        }
046    }