Package org.apache.sis.coverage
Class SubspaceNotSpecifiedException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- SubspaceNotSpecifiedException
-
- All Implemented Interfaces:
Serializable
public class SubspaceNotSpecifiedException extends RuntimeException
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 aGridCoverage
has three or more dimensions, then a two-dimensional slice must be specified in order to produce aRenderedImage
from that grid coverage.- Since:
- 1.0
- See Also:
- Linear subspace on Wikipedia, Serialized Form
Defined in the
sis-feature
module
-
-
Constructor Summary
Constructors Constructor Description SubspaceNotSpecifiedException()
Constructs 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 Detail
-
SubspaceNotSpecifiedException
public SubspaceNotSpecifiedException()
Constructs an exception with no detail message.
-
SubspaceNotSpecifiedException
public SubspaceNotSpecifiedException(String message)
Constructs an exception with the specified detail message.- Parameters:
message
- the detail message.
-
-