Revision 27398 branches/v2_0_0_prep/extensions/extEditing/src/com/iver/cit/gvsig/gui/cad/tools/MultiPointCADTool.java

View differences:

MultiPointCADTool.java
167 167
			e.printStackTrace();
168 168
		} catch (GeometryOperationException e) {
169 169
			e.printStackTrace();
170
		} catch (InstantiationException e) {
170
		} catch (org.gvsig.fmap.geom.exception.CreateGeometryException e) {
171 171
			logger.error(new CreateGeometryException(TYPES.MULTIPOINT, SUBTYPES.GEOM2D, e));
172
			e.printStackTrace();
173
		} catch (IllegalAccessException e) {
174
			logger.error(new CreateGeometryException(TYPES.MULTIPOINT, SUBTYPES.GEOM2D, e));
175
			e.printStackTrace();
176 172
		}
177 173

  
178 174
		//		geomFactory.createMultipoint2D(xs,ys).draw((Graphics2D) g,
......
233 229
				multiPoint.addPoint(pointsAux[i]);
234 230
			}
235 231
			insertAndSelectGeometry(multiPoint);
236
		} catch (InstantiationException e) {
232
		} catch (org.gvsig.fmap.geom.exception.CreateGeometryException e) {
237 233
			logger.error(new CreateGeometryException(TYPES.MULTIPOINT, SUBTYPES.GEOM2D, e));
238
		} catch (IllegalAccessException e) {
239
			logger.error(new CreateGeometryException(TYPES.MULTIPOINT, SUBTYPES.GEOM2D, e));
240 234
		}
241 235
		end();
242 236
	}

Also available in: Unified diff