Package org.apache.sis.coverage.grid
Class IllegalGridGeometryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.sis.coverage.grid.IllegalGridGeometryException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DisjointExtentException
Thrown when the argument specified to a method or constructor would result in an invalid
GridGeometry
.
This exception may have a TransformException
as its cause, in which
case the grid geometry failed to use a given "grid to CRS" transform over the given grid extent. Such failure
may happen with non-linear transforms, but are less likely in the common case where the grid geometry uses a
linear (or affine) "grid to CRS" transform.- Since:
- 1.0
- Version:
- 1.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an exception with no detail message.IllegalGridGeometryException
(String message) Constructs an exception with the specified detail message.IllegalGridGeometryException
(String message, Throwable cause) Constructs an exception with the specified detail message and cause.Constructs an exception with the specified cause.IllegalGridGeometryException
(Throwable cause, String component) Constructs an exception with a detail message incriminating the given parameter. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
-
Constructor Details
-
IllegalGridGeometryException
public IllegalGridGeometryException()Constructs an exception with no detail message. -
IllegalGridGeometryException
Constructs an exception with the specified detail message.- Parameters:
message
- the detail message.
-
IllegalGridGeometryException
Constructs an exception with the specified cause.- Parameters:
cause
- the cause for this exception.- Since:
- 1.1
-
IllegalGridGeometryException
Constructs an exception with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause for this exception.
-
IllegalGridGeometryException
Constructs an exception with a detail message incriminating the given parameter.- Parameters:
cause
- the cause of the failure to create the grid geometry.component
- name of the parameter that caused the failure.
-