org.geotools.coverage
Class OrdinateOutsideCoverageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opengis.coverage.CannotEvaluateException
org.opengis.coverage.PointOutsideCoverageException
org.geotools.coverage.OrdinateOutsideCoverageException
- All Implemented Interfaces:
- java.io.Serializable
public class OrdinateOutsideCoverageException
- extends org.opengis.coverage.PointOutsideCoverageException
Thrown when an evaluate(...)
method method is invoked with a point outside coverage.
This subclass of PointOutsideCoverage
exception is used when the dimension of the
out-of-bounds ordinate is known.
- Since:
- 2.1
- Version:
- $Id: OrdinateOutsideCoverageException.java 30643 2008-06-12 18:27:03Z acuster $
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
Methods inherited from class org.opengis.coverage.PointOutsideCoverageException |
getOffendingLocation, setOffendingLocation |
Methods inherited from class org.opengis.coverage.CannotEvaluateException |
getCoverage, setCoverage |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OrdinateOutsideCoverageException
public OrdinateOutsideCoverageException(java.lang.String message,
int dimension)
- Creates an exception with the specified message.
- Parameters:
message
- The detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.dimension
- The dimension of the out-of-bounds ordinate.
OrdinateOutsideCoverageException
public OrdinateOutsideCoverageException(java.lang.String message,
int dimension,
org.opengis.geometry.Envelope envelope)
- Creates an exception with the specified message.
- Parameters:
message
- The detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.dimension
- The dimension of the out-of-bounds ordinate.envelope
- The coverage envelope, or null
if unknown.- Since:
- 2.3
getOutOfBoundsDimension
public int getOutOfBoundsDimension()
- Returns the dimension of the out-of-bounds ordinate.
getCoverageEnvelope
public org.opengis.geometry.Envelope getCoverageEnvelope()
- Returns the coverage envelope, or
null
if unknown.
- Since:
- 2.3
Copyright © 1996-2010 Geotools. All Rights Reserved.