Class MismatchedDatumException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.sis.referencing.operation.MismatchedDatumException
- All Implemented Interfaces:
Serializable
Thrown when the source and target CRS of a conversion use different datum.
By definition, conversions do not perform any change of datum
while transformations can do.
Note:
SIS is tolerant about different datum at
DefaultConversion
construction time,
for the reasons explained in its constructor.
However, SIS is stricter at Derived CRS
construction time.- Since:
- 0.6
- Version:
- 0.6
- See Also:
-
MismatchedDimensionException
MismatchedMatrixSizeException
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with no message.MismatchedDatumException
(String message) Constructs a new exception with the specified detail message.MismatchedDatumException
(String message, Throwable cause) Constructs a new 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 serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
MismatchedDatumException
public MismatchedDatumException()Constructs a new exception with no message. -
MismatchedDatumException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message, ornull
if none.
-
MismatchedDatumException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message, ornull
if none.cause
- the cause, ornull
if none.
-