@UML(identifier="CV_PointOutsideCoverage", specification=OGC_01004) public class PointOutsideCoverageException extends CannotEvaluateException
evaluate method is invoked
for a location outside the domain of the coverage.Coverage.evaluate(DirectPosition, byte[]),
Coverage.evaluate(DirectPosition, double[]),
Serialized Form| Constructor and Description |
|---|
PointOutsideCoverageException()
Creates an exception with no message.
|
PointOutsideCoverageException(String message)
Creates an exception with the specified message.
|
| Modifier and Type | Method and Description |
|---|---|
DirectPosition |
getOffendingLocation()
Returns the direct position which is outside the domain of the
coverage.
|
void |
setOffendingLocation(DirectPosition location)
Sets the direct position which is outside the domain of the
coverage.
|
getCoverage, setCoverageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PointOutsideCoverageException()
public PointOutsideCoverageException(String message)
message - The detail message. The detail message is saved for later retrieval by the
Throwable.getMessage() method.@Extension public DirectPosition getOffendingLocation()
null if unknown.@Extension public void setOffendingLocation(DirectPosition location)
location - The position outside the coverage, or null if unknown.Copyright © 1996–2019 Geotools. All rights reserved.