001 //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/branches/2.2_testing/src/org/deegree/model/coverage/PointOutsideCoverageException.java $ 002 003 package org.deegree.model.coverage; 004 005 /** 006 * Thrown when a <code>org.opengis.coverage.Coverage.evaluate</code> method is invoked with a 007 * point outside coverage. 008 * 009 * @UML exception CV_PointOutsideCoverage 010 * @author <A HREF="http://www.opengis.org">OpenGIS® consortium</A> 011 * @version <A HREF="http://www.opengis.org/docs/01-004.pdf">Grid Coverage specification 1.0</A> 012 * 013 */ 014 public class PointOutsideCoverageException extends CannotEvaluateException { 015 /** 016 * Serial number for interoperability with different versions. 017 */ 018 private static final long serialVersionUID = -8718412090539227101L; 019 020 /** 021 * Creates an exception with no message. 022 */ 023 public PointOutsideCoverageException() { 024 super(); 025 } 026 027 /** 028 * Creates an exception with the specified message. 029 * 030 * @param message 031 * The detail message. The detail message is saved for later retrieval by the 032 * {@link #getMessage()} method. 033 */ 034 public PointOutsideCoverageException( String message ) { 035 super( message ); 036 } 037 }