Ignore:
Timestamp:
2014-01-06T16:39:45+01:00 (10 years ago)
Author:
Don-vip
Message:

global replacement of e.printStackTrace() by Main.error(e)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/ServerSidePreferences.java

    r6578 r6643  
    7878            } catch (IOException e) {
    7979                Main.error(e);
    80                 e.printStackTrace();
    8180            }
    8281            return null;
     
    107106                        );
    108107            } catch (Exception e) {
    109                 e.printStackTrace();
     108                Main.error(e);
    110109                JOptionPane.showMessageDialog(
    111110                        Main.parent,
     
    123122            connection = new Connection(new URL(serverUrl+"user/preferences"));
    124123        } catch (MalformedURLException e) {
    125             e.printStackTrace();
     124            Main.error(e);
    126125            JOptionPane.showMessageDialog(
    127126                    Main.parent,
     
    173172            fromXML(in);
    174173        } catch (RuntimeException e) {
    175             e.printStackTrace();
     174            Main.error(e);
    176175        } catch (XMLStreamException e) {
    177             e.printStackTrace();
     176            Main.error(e);
    178177        }
    179178        return res;
Note: See TracChangeset for help on using the changeset viewer.