Class UnmodifiableMetadataException

  • All Implemented Interfaces:
    Serializable

    public class UnmodifiableMetadataException
    extends UnsupportedOperationException
    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
    See Also:
    Modifiable­Metadata​.State​.FINAL, Serialized Form

    Defined in the sis-metadata module

    • Constructor Detail

      • UnmodifiableMetadataException

        public UnmodifiableMetadataException​(String message)
        Creates a new exception with the specified detail message.
        Parameters:
        message - the detail message.