Class UnmodifiableGeometryException

  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by UnsupportedOperationException
                  extended by UnmodifiableGeometryException
All Implemented Interfaces:

public class UnmodifiableGeometryException
extends UnsupportedOperationException

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.

GeoAPI 2.0
Martin Desruisseaux (IRD)
See Also:
Serialized Form

Constructor Summary
          Creates an exception with no message.
UnmodifiableGeometryException(String message)
          Creates an exception with the specified message.
Method Summary
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public UnmodifiableGeometryException()
Creates an exception with no message.


public UnmodifiableGeometryException(String message)
Creates an exception with the specified message.

message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

Copyright © 1996-2014 Geotools. All Rights Reserved.