org.geotools.coverage
Class OrdinateOutsideCoverageException
Object
Throwable
Exception
RuntimeException
CannotEvaluateException
PointOutsideCoverageException
OrdinateOutsideCoverageException
- All Implemented Interfaces:
- Serializable
public class OrdinateOutsideCoverageException
- extends 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
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
- Module:
modules/library/coverage (gt-coverage.jar)
Methods inherited from class PointOutsideCoverageException |
getOffendingLocation, setOffendingLocation |
Methods inherited from class CannotEvaluateException |
getCoverage, setCoverage |
Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
OrdinateOutsideCoverageException
public OrdinateOutsideCoverageException(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(String message,
int dimension,
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 Envelope getCoverageEnvelope()
- Returns the coverage envelope, or
null
if unknown.
- Since:
- 2.3
Copyright © 1996-2009 Geotools. All Rights Reserved.