Package org.apache.sis.coverage
Class SubspaceNotSpecifiedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sis.coverage.CannotEvaluateException
org.apache.sis.coverage.SubspaceNotSpecifiedException
- All Implemented Interfaces:
Serializable
Thrown when an operation can only be applied on a subspace of a multi-dimensional coverage,
but not such subspace has been specified.
For example if a
GridCoverage
has three or more dimensions,
then a two-dimensional slice must be specified in order to produce a RenderedImage
from that grid coverage.- Since:
- 1.0
- Version:
- 1.0
- 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.SubspaceNotSpecifiedException
(String message) Constructs an exception with the specified detail message.SubspaceNotSpecifiedException
(String message, Throwable cause) Constructs an exception with the specified detail message and cause. -
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
-
SubspaceNotSpecifiedException
public SubspaceNotSpecifiedException()Constructs an exception with no detail message. -
SubspaceNotSpecifiedException
Constructs an exception with the specified detail message.- Parameters:
message
- the detail message.
-
SubspaceNotSpecifiedException
Constructs an exception with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause for this exception.
-