|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalStateException org.geotools.renderer.geom.UnmodifiableGeometryException
Throws when an attempt is made to modify a geometry, but this geometry is part of an other
geometry. For example the geometry may be a hole in a Polygon
, or a geometry in a
GeometryCollection
. Attempt to change those geometries may corrupt the container,
which is why they are not allowed. This exception may be thrown by the following methods:
Geometry.setCoordinateSystem(org.geotools.cs.CoordinateSystem)
Geometry.setResolution(double)
Geometry.compress(org.geotools.renderer.geom.CompressionLevel)
Polyline.append(float[], int, int)
Polyline.appendBorder(float[], int, int)
Polyline.prependBorder(float[], int, int)
Polygon.addHole(org.geotools.renderer.geom.Polyline)
GeometryCollection.add(Geometry)
GeometryCollection.remove(Geometry)
Constructor Summary | |
UnmodifiableGeometryException()
Construct an exception with an empty message. |
|
UnmodifiableGeometryException(java.util.Locale locale)
Construct an exception with a "Unmodifiable geometry" message in the given locale. |
|
UnmodifiableGeometryException(java.lang.String message)
Construct an exception with the specified message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UnmodifiableGeometryException()
public UnmodifiableGeometryException(java.lang.String message)
public UnmodifiableGeometryException(java.util.Locale locale)
locale
- The locale, or null
for a default one.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |