@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 FormConstructor 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, setCoverage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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.