org.opengis.coverage
Class CannotEvaluateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.opengis.coverage.CannotEvaluateException
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PointOutsideCoverageException
public class CannotEvaluateException extends java.lang.RuntimeExceptionThe base class for exceptions thrown when a quantity can't be evaluated. This exception is usually invoked by aCoverage.evaluate(…)method, for example when a point is outside the coverage.WARNING: THIS CLASS WILL CHANGE. Current API is derived from OGC Grid Coverages Implementation specification 1.0. We plan to replace it by new interfaces derived from ISO 19123 (Schema for coverage geometry and functions). Current interfaces should be considered as legacy and are included in this distribution only because they were part of GeoAPI 1.0 release. We will try to preserve as much compatibility as possible, but no migration plan has been determined yet.
- Since:
- GeoAPI 1.0
- See Also:
Coverage.evaluate(DirectPosition, byte[]),Coverage.evaluate(DirectPosition, double[]), Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description CannotEvaluateException()Creates an exception with no message.CannotEvaluateException(java.lang.String message)Creates an exception with the specified message.CannotEvaluateException(java.lang.String message, java.lang.Throwable cause)Creates an exception with the specified message.
-
-
-
Constructor Detail
-
CannotEvaluateException
public CannotEvaluateException()
Creates an exception with no message.
-
CannotEvaluateException
public CannotEvaluateException(java.lang.String message)
Creates an exception with the specified message.- Parameters:
message- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
CannotEvaluateException
public CannotEvaluateException(java.lang.String message, java.lang.Throwable cause)Creates an exception with the specified message.- Parameters:
message- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.cause- The cause for this exception. The cause is saved for later retrieval by theThrowable.getCause()method.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG