Ignore:
Timestamp:
2017-03-19T02:26:34+01:00 (7 years ago)
Author:
Don-vip
Message:

PMD - Strict Exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java

    r11461 r11746  
    2727import org.openstreetmap.josm.gui.layer.LayerManager.LayerOrderChangeEvent;
    2828import org.openstreetmap.josm.gui.layer.LayerManager.LayerRemoveEvent;
     29import org.openstreetmap.josm.tools.JosmRuntimeException;
    2930import org.openstreetmap.josm.tools.SubclassFilteredCollection;
    3031import org.openstreetmap.josm.tools.WindowGeometry;
     
    224225                    SwingUtilities.invokeLater(() -> show(h));
    225226                }
    226             } catch (final RuntimeException e) {
     227            } catch (final JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
    227228                BugReportExceptionHandler.handleException(e);
    228229            }
Note: See TracChangeset for help on using the changeset viewer.