Package org.apache.sis.coverage.grid
Class DisjointExtentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.sis.coverage.grid.IllegalGridGeometryException
org.apache.sis.coverage.grid.DisjointExtentException
- All Implemented Interfaces:
Serializable
Thrown when operations on a
GridGeometry
result in an area which
does not intersect anymore the GridExtent
of the GridGeometry
.- Since:
- 1.0
- Version:
- 1.3
- 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.DisjointExtentException
(Object dim, long min, long max, long lower, long upper) Creates an exception with an error message built from the given arguments.DisjointExtentException
(String message) Constructs an exception with the specified detail message.DisjointExtentException
(String message, Throwable cause) Constructs an exception with the specified detail message and cause.DisjointExtentException
(GridExtent source, GridExtent request, int dim) Creates an exception with an error message built from the given extents. -
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
-
DisjointExtentException
public DisjointExtentException()Constructs an exception with no detail message. -
DisjointExtentException
Constructs an exception with the specified detail message.- Parameters:
message
- the detail message.
-
DisjointExtentException
Constructs an exception with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause for this exception.
-
DisjointExtentException
DisjointExtentException(Object dim, long min, long max, long lower, long upper) Creates an exception with an error message built from the given arguments. Current implementation creates the error message immediately, but we may change to deferred creation later if it is a performance issue.- Parameters:
dim
- identification of the dimension having an invalid value.min
- the lower bound of valid area.max
- the upper bound of valid area.lower
- the lower bound specified by user, which is invalid.upper
- the upper bound specified by user, which is invalid.
-
DisjointExtentException
Creates an exception with an error message built from the given extents.- Parameters:
source
- extent of the source.request
- extent of a slice requested by user.dim
- index of the dimension having an invalid value.- Since:
- 1.3
-