Package org.apache.sis.coverage
Class IllegalSampleDimensionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.sis.coverage.IllegalSampleDimensionException
- All Implemented Interfaces:
Serializable
Thrown when
SampleDimension
cannot be created.
The most common cause is overlapping ranges of sample values.
This exception is caused by an illegal argument, but may happen at a later stage
(for example when SampleDimension.Builder.build()
is invoked).- Since:
- 1.1
- Version:
- 1.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with no message.IllegalSampleDimensionException
(String message) Creates an exception with the specified message.IllegalSampleDimensionException
(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
-
IllegalSampleDimensionException
public IllegalSampleDimensionException()Creates an exception with no message. -
IllegalSampleDimensionException
Creates an exception with the specified message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
IllegalSampleDimensionException
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.
-