001    //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/branches/2.3_testing/src/org/deegree/model/coverage/CannotEvaluateException.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    // OpenGIS direct dependencies
016    
017    /**
018     * The base class for exceptions thrown when a quantity can't be evaluated. This exception is
019     * usually invoked by a <code>Coverage.evaluate(PT_CoordinatePoint)</code> method, for example
020     * when a point is outside the coverage.
021     *
022     * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A>
023     * @author last edited by: $Author: mschneider $
024     *
025     * @version $Revision: 20326 $, $Date: 2009-10-22 18:41:56 +0200 (Do, 22. Okt 2009) $
026     *
027     * @see "org.opengis.coverage.Coverage"
028     */
029    public class CannotEvaluateException extends RuntimeException {
030        /**
031         * Serial number for interoperability with different versions.
032         */
033        private static final long serialVersionUID = 506793649975583062L;
034    
035        /**
036         * Creates an exception with no message.
037         */
038        public CannotEvaluateException() {
039            super();
040        }
041    
042        /**
043         * Creates an exception with the specified message.
044         *
045         * @param message
046         *            The detail message. The detail message is saved for later retrieval by the
047         *            {@link #getMessage()} method.
048         */
049        public CannotEvaluateException( String message ) {
050            super( message );
051        }
052    }