Revision 36464

View differences:

branches/v2_0_0_prep/libraries/libFMap_controls/src/org/gvsig/fmap/mapcontrol/dal/feature/swing/FeatureTablePanel.java
144 144
		try {
145 145
			getTable().setSelectionUp(selectionUp);
146 146
		} catch (DataException e) {
147
			// TODO: create and throw a SetSelectionUpException
148
			e.printStackTrace();
147
            throw new RuntimeException("Error setting the selection up", e);
149 148
		}
150 149
	}
151 150

  
branches/v2_0_0_prep/libraries/libFMap_controls/src/org/gvsig/fmap/mapcontrol/dal/feature/swing/table/GeometryCellRenderer.java
52 52
                        null);
53 53
                setText(geomTxt);
54 54
            } catch (GeometryOperationNotSupportedException e) {
55
                // TODO Auto-generated catch block
56
                e.printStackTrace();
55
                throw new RuntimeException(
56
                    "Error getting as WKT the geometry: " + geometry, e);
57 57
            } catch (GeometryOperationException e) {
58
                // TODO Auto-generated catch block
59
                e.printStackTrace();
58
                throw new RuntimeException(
59
                    "Error getting as WKT the geometry: " + geometry, e);
60 60
            }
61 61
            setToolTipText(geometry.getGeometryType().getName());
62 62
        }

Also available in: Unified diff