org.geotoolkit.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:
- 1.2
- Version:
- 3.00
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
- Module:
| 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.
- Returns:
- The dimension of the out-of-bounds ordinate.
getCoverageEnvelope
public Envelope getCoverageEnvelope()
- Returns the coverage envelope, or
null if unknown.
- Returns:
- the coverage envelope, or
null. - Since:
- 2.3
Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.