Object
Throwable
Exception
RuntimeException
CannotEvaluateException
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
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs 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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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.
-