Changeset 11746 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2017-03-19T02:26:34+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java
r11397 r11746 17 17 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 18 18 import org.openstreetmap.josm.tools.CheckParameterUtil; 19 import org.openstreetmap.josm.tools.JosmRuntimeException; 19 20 import org.xml.sax.SAXException; 20 21 … … 114 115 } catch (OsmTransferException e) { 115 116 throw e; 116 } catch ( RuntimeException e) {117 } catch (JosmRuntimeException | IllegalStateException e) { 117 118 if (cancel) 118 119 return null; -
trunk/src/org/openstreetmap/josm/io/NameFinder.java
r11620 r11746 241 241 Main.error(ex); // SAXException does not chain correctly 242 242 throw new SAXException(ex.getMessage(), ex); 243 } catch (NullPointerException ex) { 243 } catch (NullPointerException ex) { // NOPMD 244 244 Main.error(ex); // SAXException does not chain correctly 245 245 throw new SAXException(tr("Null pointer exception, possibly some missing tags."), ex); -
trunk/src/org/openstreetmap/josm/io/NmeaReader.java
r11620 r11746 415 415 return true; 416 416 417 } catch ( RuntimeException ex) {417 } catch (IllegalArgumentException | IndexOutOfBoundsException ex) { 418 418 // out of bounds and such 419 419 Main.debug(ex); -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/ImportHandler.java
r10212 r11746 47 47 } 48 48 } 49 } catch (RuntimeException ex) { 49 } catch (RuntimeException ex) { // NOPMD 50 50 Main.warn("RemoteControl: Error parsing import remote control request:"); 51 51 Main.error(ex); -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
r10657 r11746 146 146 } 147 147 } 148 } catch (RuntimeException ex) { 148 } catch (RuntimeException ex) { // NOPMD 149 149 Main.warn("RemoteControl: Error parsing load_and_zoom remote control request:"); 150 150 Main.error(ex);
Note:
See TracChangeset
for help on using the changeset viewer.