Changeset 11746 in josm for trunk/src/org/openstreetmap/josm/gui/layer/LayerManager.java
- Timestamp:
- 2017-03-19T02:26:34+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/LayerManager.java
r11297 r11746 14 14 import org.openstreetmap.josm.Main; 15 15 import org.openstreetmap.josm.gui.util.GuiHelper; 16 import org.openstreetmap.josm.tools.JosmRuntimeException; 16 17 import org.openstreetmap.josm.tools.Utils; 17 18 import org.openstreetmap.josm.tools.bugreport.BugReport; … … 404 405 try { 405 406 l.layerAdded(e); 406 } catch ( RuntimeException t) {407 } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException t) { 407 408 throw BugReport.intercept(t).put("listener", l).put("event", e); 408 409 } … … 421 422 try { 422 423 l.layerRemoving(e); 423 } catch ( RuntimeException t) {424 } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException t) { 424 425 throw BugReport.intercept(t).put("listener", l).put("event", e).put("layer", layer); 425 426 } … … 434 435 try { 435 436 l.layerOrderChanged(e); 436 } catch ( RuntimeException t) {437 } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException t) { 437 438 throw BugReport.intercept(t).put("listener", l).put("event", e); 438 439 }
Note:
See TracChangeset
for help on using the changeset viewer.