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
- Author:
- Martin Desruisseaux (IRD, Geomatys)
- See Also:
-
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
-
Constructor Details
-
UnmodifiableMetadataException
Creates a new exception with the specified detail message.- Parameters:
message- the detail message.
-