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:
  • Constructor Details

    • UnmodifiableMetadataException

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