Class CannotEvaluateException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Coverage getCoverage()
      Returns the coverage for which this exception is thrown.
      void setCoverage​(Coverage coverage)
      Sets the coverage.
      • Methods inherited from class Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CannotEvaluateException

        public CannotEvaluateException()
        Creates an exception with no message.
      • CannotEvaluateException

        public CannotEvaluateException​(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.
      • CannotEvaluateException

        public CannotEvaluateException​(String message,
                                       Throwable cause)
        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.
        cause - The cause for this exception. The cause is saved for later retrieval by the Throwable.getCause() method.
    • Method Detail

      • getCoverage

        public Coverage getCoverage()
        Returns the coverage for which this exception is thrown. Useful when Coverage is used on a multilevel, so CannotEvaluateException can provide informative details.
        Returns:
        The coverage, or null if unknown.
        Since:
        GeoAPÏ 2.2
      • setCoverage

        public void setCoverage​(Coverage coverage)
        Sets the coverage.
        Parameters:
        coverage - The coverage, or null if unknown.
        Since:
        GeoAPÏ 2.2