Ignore:
Timestamp:
2016-07-24T14:48:47+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/gui/preferences/display/GPXSettingsPanel.java

    r10611 r10627  
    453453            parser.parse();
    454454        } catch (ParseError e) {
     455            Main.warn(e);
    455456            JOptionPane.showMessageDialog(Main.parent,
    456457                    tr("Incorrect waypoint label pattern: {0}", e.getMessage()), tr("Incorrect pattern"), JOptionPane.ERROR_MESSAGE);
     
    462463            parser.parse();
    463464        } catch (ParseError e) {
     465            Main.warn(e);
    464466            JOptionPane.showMessageDialog(Main.parent,
    465467                    tr("Incorrect audio waypoint label pattern: {0}", e.getMessage()), tr("Incorrect pattern"), JOptionPane.ERROR_MESSAGE);
Note: See TracChangeset for help on using the changeset viewer.