Package org.geotools.api.coverage
Class PointOutsideCoverageException
- Object
- 
- Throwable
- 
- Exception
- 
- RuntimeException
- 
- CannotEvaluateException
- 
- PointOutsideCoverageException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class PointOutsideCoverageException extends CannotEvaluateException Thrown when aevaluatemethod is invoked for a location outside the domain of the coverage.- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD), Alexander Petkov
- See Also:
- Coverage.evaluate(Position, byte[]),- Coverage.evaluate(Position, double[]), Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description PointOutsideCoverageException()Creates an exception with no message.PointOutsideCoverageException(String message)Creates an exception with the specified message.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PositiongetOffendingLocation()Returns the direct position which is outside the domain of the coverage.voidsetOffendingLocation(Position location)Sets the direct position which is outside the domain of the coverage.- 
Methods inherited from class CannotEvaluateExceptiongetCoverage, setCoverage
 - 
Methods inherited from class ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
PointOutsideCoverageExceptionpublic PointOutsideCoverageException() Creates an exception with no message.
 - 
PointOutsideCoverageExceptionpublic PointOutsideCoverageException(String message) 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.
 
 
- 
 - 
Method Detail- 
getOffendingLocationpublic Position getOffendingLocation() Returns the direct position which is outside the domain of the coverage.- Returns:
- The position outside the coverage, or nullif unknown.
- Since:
- GeoAPI 2.2
 
 - 
setOffendingLocationpublic void setOffendingLocation(Position location) Sets the direct position which is outside the domain of the coverage.- Parameters:
- location- The position outside the coverage, or- nullif unknown.
- Since:
- GeoAPI 2.2
 
 
- 
 
-