Changeset 11374 in josm for trunk/src/org/openstreetmap/josm/data/osm/DataSetMerger.java
- Timestamp:
- 2016-12-09T23:31:13+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSetMerger.java
r10308 r11374 18 18 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 19 19 import org.openstreetmap.josm.tools.CheckParameterUtil; 20 import org.openstreetmap.josm.tools.JosmRuntimeException; 20 21 21 22 /** … … 143 144 Way myWay = (Way) getMergeTarget(other); 144 145 if (myWay == null) 145 throw new RuntimeException(tr("Missing merge target for way with id {0}", other.getUniqueId()));146 throw new JosmRuntimeException(tr("Missing merge target for way with id {0}", other.getUniqueId())); 146 147 } 147 148 … … 178 179 OsmPrimitive source = sourceDataSet.getPrimitiveById(target.getPrimitiveId()); 179 180 if (source == null) 180 throw new RuntimeException(181 throw new JosmRuntimeException( 181 182 tr("Object of type {0} with id {1} was marked to be deleted, but it''s missing in the source dataset", 182 183 target.getType(), target.getUniqueId()));
Note:
See TracChangeset
for help on using the changeset viewer.