Changeset 14950 in josm for trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java
- Timestamp:
- 2019-04-01T22:01:06+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java
r14397 r14950 10 10 import java.io.File; 11 11 import java.io.IOException; 12 import java.nio.file.InvalidPathException; 12 13 import java.text.MessageFormat; 13 14 … … 21 22 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 22 23 import org.openstreetmap.josm.tools.CheckParameterUtil; 23 import org.openstreetmap.josm.tools.Logging;24 24 import org.openstreetmap.josm.tools.Shortcut; 25 25 … … 108 108 try { 109 109 exporter.exportData(file, layer); 110 } catch (IOException e) {111 Logging.error(e);110 } catch (IOException | InvalidPathException e) { 111 SaveActionBase.showAndLogException(e); 112 112 } 113 113 }
Note:
See TracChangeset
for help on using the changeset viewer.