📄 geometrynotsupportedexception.java
字号:
/************************************************************************************************** ** ** $Id: GeometryNotSupportedException.java,v 1.4 2004/03/04 15:56:26 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/go/display/primitive/GeometryNotSupportedException.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.go.display.primitive;import org.opengis.spatialschema.geometry.Geometry;/** * Exception thrown by {@link Graphic} objects for Geometries that are not supported * by a display implementation. * * @author <A HREF="http://www.opengis.org">OpenGIS® consortium</A> * @version $Revision: 1.4 $, $Date: 2004/03/04 15:56:26 $ */public class GeometryNotSupportedException extends Exception { /** * The unsupported geometry. */ private final Geometry geometry; /** * Constructs an exception with the given invalid geometry. * * @param geometry The invalid geometry. * @revisit Localize the error message. */ public GeometryNotSupportedException(Geometry geometry) { super("This Geometry is not supported: " + geometry); this.geometry = geometry; } /** * Returns the invalid geometry. * * @return the invalid geometry. */ public Geometry getGeometry() { return geometry; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -