Changeset 1835 in josm
- Timestamp:
- 2009-07-25T13:03:23+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGpsTask.java
r1811 r1835 18 18 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 19 19 import org.openstreetmap.josm.io.BoundingBoxDownloader; 20 import org.openstreetmap.josm.io.OsmTransferException; 20 21 import org.xml.sax.SAXException; 21 22 … … 34 35 } 35 36 36 @Override public void realRun() throws IOException, SAXException {37 @Override public void realRun() throws IOException, SAXException, OsmTransferException { 37 38 rawData = reader.parseRawGps(progressMonitor.createSubTaskMonitor(ProgressMonitor.ALL_TICKS, false)); 38 39 } -
trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java
r1811 r1835 40 40 * ways. 41 41 */ 42 public GpxData parseRawGps(ProgressMonitor progressMonitor) throws IOException, SAXException {42 public GpxData parseRawGps(ProgressMonitor progressMonitor) throws IOException, SAXException,OsmTransferException { 43 43 progressMonitor.beginTask("", 1); 44 44 try { … … 78 78 throw e; 79 79 } catch (SAXException e) { 80 throw e; 81 } catch (OsmTransferException e) { 80 82 throw e; 81 83 } catch (Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.