Ignore:
Timestamp:
2014-01-06T16:39:45+01:00 (11 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/gui/download/PlaceSelection.java

    r6552 r6643  
    246246                }
    247247            } catch (NumberFormatException x) {
    248                 x.printStackTrace(); // SAXException does not chain correctly
     248                Main.error(x); // SAXException does not chain correctly
    249249                throw new SAXException(x.getMessage(), x);
    250250            } catch (NullPointerException x) {
    251                 x.printStackTrace(); // SAXException does not chain correctly
     251                Main.error(x); // SAXException does not chain correctly
    252252                throw new SAXException(tr("Null pointer exception, possibly some missing tags."), x);
    253253            }
Note: See TracChangeset for help on using the changeset viewer.