Package org.apache.sis.metadata
Class UnmodifiableMetadataException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- UnsupportedOperationException
-
- 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:
ModifiableMetadata.State.FINAL
, Serialized Form
Defined in the
sis-metadata
module
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableMetadataException(String message)
Creates a new exception with the specified detail message.
-
Method Summary
-
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnmodifiableMetadataException
public UnmodifiableMetadataException(String message)
Creates a new exception with the specified detail message.- Parameters:
message
- the detail message.
-
-