# Class PointOutsideCoverageException

Object
Throwable
Exception
RuntimeException
CannotEvaluateException
PointOutsideCoverageException

All Implemented Interfaces:
  `Serializable`

public class PointOutsideCoverageException extends CannotEvaluateException
Thrown when an evaluate method is invoked for a location outside the domain of the coverage.
Upcoming API change: this class may move to GeoAPI in a future version. If that move happens, the `org​.apache​.sis​.coverage` package name would become `org​.opengis​.coverage`.

Since:
  1.0
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PointOutsideCoverageException()`
  Creates an exception with no message.
  `PointOutsideCoverageException(String message)`
  Creates an exception with the specified message.

- ## Method Summary

  ### 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 Details

  - ### PointOutsideCoverageException

    public PointOutsideCoverageException()
    Creates an exception with no message.

  - ### PointOutsideCoverageException

    public 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.