/*$************************************************************************************************
**
** $Id: PointOutsideCoverageException.java 831 2006-05-01 00:27:23Z Desruisseaux $
**
** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/coverage/PointOutsideCoverageException.java $
**
** Copyright (C) 2003-2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.coverage;
// OpenGIS direct dependencies
import org.opengis.spatialschema.geometry.DirectPosition; // For Javadoc
// Annotations
import org.opengis.annotation.UML;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
/**
* Thrown when a
* {@linkplain Coverage#evaluate(DirectPosition, double[]) evaluate}(…)
* method is invoked with a point outside coverage.
*
*
*
*
* WARNING: THIS CLASS WILL CHANGE. Current API is derived from OGC
* Grid Coverages Implementation specification 1.0.
* We plan to replace it by new interfaces derived from ISO 19123 (Schema for coverage geometry
* and functions). Current interfaces should be considered as legacy and are included in this
* distribution only because they were part of GeoAPI 1.0 release. We will try to preserve as much
* compatibility as possible, but no migration plan has been determined yet.
*
*
*
* @version Grid Coverage specification 1.0
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 1.0
*
* @see Coverage#evaluate(DirectPosition, byte[])
* @see Coverage#evaluate(DirectPosition, double[])
*/
@UML(identifier="CV_PointOutsideCoverage", specification=OGC_01004)
public class PointOutsideCoverageException extends CannotEvaluateException {
/**
* Serial number for interoperability with different versions.
*/
private static final long serialVersionUID = -8718412090539227101L;
/**
* Creates an exception with no message.
*/
public PointOutsideCoverageException() {
super();
}
/**
* Creates an exception with the specified message.
*
* @param message The detail message. The detail message is saved for
* later retrieval by the {@link #getMessage()} method.
*/
public PointOutsideCoverageException(String message) {
super(message);
}
}
Ads help maintain this website.