Ignore:
Timestamp:
2012-11-28T22:19:39+01:00 (11 years ago)
Author:
Don-vip
Message:

fix #8233 - Don't print stacktrace if error occurs when reading presets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r5582 r5606  
    14811481                allPresets.addAll(TaggingPreset.readAll(source, validate));
    14821482            } catch (IOException e) {
    1483                 e.printStackTrace();
     1483                System.err.println(e.getClass().getName()+": "+e.getMessage());
     1484                System.err.println(source);
    14841485                JOptionPane.showMessageDialog(
    14851486                        Main.parent,
     
    14891490                        );
    14901491            } catch (SAXException e) {
    1491                 System.err.println(e.getMessage());
     1492                System.err.println(e.getClass().getName()+": "+e.getMessage());
    14921493                System.err.println(source);
    1493                 e.printStackTrace();
    14941494                JOptionPane.showMessageDialog(
    14951495                        Main.parent,
Note: See TracChangeset for help on using the changeset viewer.