Ignore:
Timestamp:
2016-06-23T02:35:10+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1166 - Exception handlers should preserve the original exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ExtensionFileFilter.java

    r10407 r10463  
    6767                importers.add(importer);
    6868            } catch (ReflectiveOperationException e) {
    69                 if (Main.isDebugEnabled()) {
    70                     Main.debug(e.getMessage());
    71                 }
     69                Main.debug(e);
    7270            } catch (ServiceConfigurationError e) {
    7371                // error seen while initializing WMSLayerImporter in plugin unit tests:
     
    108106                Main.getLayerManager().addAndFireActiveLayerChangeListener(exporter);
    109107            } catch (ReflectiveOperationException e) {
    110                 if (Main.isDebugEnabled()) {
    111                     Main.debug(e.getMessage());
    112                 }
     108                Main.debug(e);
    113109            } catch (ServiceConfigurationError e) {
    114110                // see above in importers initialization
Note: See TracChangeset for help on using the changeset viewer.