Package org.apache.sis.geometry
Class UnmodifiableGeometryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
org.apache.sis.geometry.UnmodifiableGeometryException
- All Implemented Interfaces:
Serializable
Indicates that an operation is not allowed on a geometry object
because it is unmodifiable. Note that unmodifiable geometries are not necessarily immutable;
they are just not allowed to be modified through the
setFoo(...)
method that
raised this exception. Whatever an unmodifiable geometry is immutable or not is
implementation dependent.- Since:
- 0.3
- Version:
- 0.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with no message.UnmodifiableGeometryException
(String message) Creates an exception with the specified 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 serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
-
Constructor Details
-
UnmodifiableGeometryException
public UnmodifiableGeometryException()Creates an exception with no message. -
UnmodifiableGeometryException
Creates an exception with the specified message.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-