Changeset 17646 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2021-03-23T13:35:23+01:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/importexport/GeoJSONImporter.java
r15865 r17646 52 52 progressMonitor.worked(1); 53 53 MainApplication.getLayerManager().addLayer(new OsmDataLayer(data, file.getName(), file)); 54 } catch (IOException | Illegal DataException e) {54 } catch (IOException | IllegalArgumentException | IllegalDataException e) { 55 55 Logging.error("Error while reading json file!"); 56 56 Logging.error(e); -
trunk/src/org/openstreetmap/josm/io/GeoJSONReader.java
r17356 r17646 413 413 } 414 414 mergeEqualMultipolygonWays(); 415 } catch (IOException | JsonParsingException e) {415 } catch (IOException | IllegalArgumentException | JsonParsingException e) { 416 416 throw new IllegalDataException(e); 417 417 }
Note:
See TracChangeset
for help on using the changeset viewer.