Package org.apache.sis.coverage
Class MismatchedCoverageRangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.sis.coverage.MismatchedCoverageRangeException
- All Implemented Interfaces:
Serializable
Thrown when the number of bands or sample dimensions specified to a method
is not equal to the number expected by a coverage.
- Since:
- 1.0
- Version:
- 1.0
- See Also:
-
MismatchedDimensionException
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with no message.MismatchedCoverageRangeException
(String message) Creates an exception with the specified message.MismatchedCoverageRangeException
(String message, Throwable cause) Creates an exception with the specified 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
-
MismatchedCoverageRangeException
public MismatchedCoverageRangeException()Creates an exception with no message. -
MismatchedCoverageRangeException
Creates an exception with the specified message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
MismatchedCoverageRangeException
Creates an exception with the specified message and cause.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause, saved for later retrieval by theThrowable.getCause()
method.
-