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/plugins/PluginHandler.java

    r11530 r11746  
    725725                        + "Delete from preferences?</html>", plugin.name, plugin.className);
    726726            }
    727         } catch (RuntimeException e) {
     727        } catch (RuntimeException e) { // NOPMD
    728728            pluginLoadingExceptions.put(plugin.name, e);
    729729            Main.error(e);
     
    823823            try {
    824824                task.run();
    825             } catch (RuntimeException e) {
     825            } catch (RuntimeException e) { // NOPMD
    826826                Main.error(e);
    827827                return null;
     
    10011001                    plugins = SubclassFilteredCollection.filter(plugins, pi -> pluginsWantedName.contains(pi.name));
    10021002                }
    1003             } catch (RuntimeException e) {
     1003            } catch (RuntimeException e) { // NOPMD
    10041004                Main.warn(tr("Failed to download plugin information list"));
    10051005                Main.error(e);
     
    10461046                try {
    10471047                    pluginDownloadTask.run();
    1048                 } catch (RuntimeException e) {
     1048                } catch (RuntimeException e) { // NOPMD
    10491049                    Main.error(e);
    10501050                    alertFailedPluginUpdate(parent, pluginsToUpdate);
Note: See TracChangeset for help on using the changeset viewer.