Package org.apache.sis.metadata
Class UnmodifiableMetadataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
org.apache.sis.metadata.UnmodifiableMetadataException
- All Implemented Interfaces:
Serializable
Thrown on attempt to set a read-only value in a metadata object.
This exception may happen in the following scenarios:
- A metadata instance was initially modifiable, but that instance has since be declared unmodifiable.
- A write operation has been attempted on the map view, but the metadata object has no corresponding setter methods.
- Since:
- 0.3
- Version:
- 0.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionUnmodifiableMetadataException
(String message) Creates a new exception with the specified detail message. -
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
-
UnmodifiableMetadataException
Creates a new exception with the specified detail message.- Parameters:
message
- the detail message.
-