Class IncompleteGridGeometryException

All Implemented Interfaces:
Serializable

public class IncompleteGridGeometryException extends IllegalStateException
Thrown by GridGeometry when a grid geometry cannot provide the requested information. For example, this exception is thrown when GridGeometry.getEnvelope() is invoked while the grid geometry has been built with a null envelope.

The GridGeometry.isDefined(int) can be used for avoiding this exception. For example if a process is going to need both the grid extent and the "grid to CRS" transform, than it can verify if those two conditions are met in a single method call:

Since:
1.0
Version:
1.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial number for inter-operability with different versions.
      See Also:
  • Constructor Details

    • IncompleteGridGeometryException

      public IncompleteGridGeometryException()
      Constructs an exception with no detail message.
    • IncompleteGridGeometryException

      public IncompleteGridGeometryException(String message)
      Constructs an exception with the specified detail message.
      Parameters:
      message - the detail message.
    • IncompleteGridGeometryException

      public IncompleteGridGeometryException(String message, Throwable cause)
      Constructs an exception with the specified detail message and cause.
      Parameters:
      message - the detail message.
      cause - the cause for this exception.