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/io/OsmHistoryReader.java

    r6552 r6643  
    1111import javax.xml.parsers.SAXParserFactory;
    1212
     13import org.openstreetmap.josm.Main;
    1314import org.openstreetmap.josm.data.osm.history.HistoryDataSet;
    1415import org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive;
     
    4243        }
    4344
     45        @Override
    4446        protected void throwException(String message) throws SAXException {
    4547            throw new SAXException(getCurrentPosition() + message);
     
    8688            SAXParserFactory.newInstance().newSAXParser().parse(inputSource, new Parser());
    8789        } catch (ParserConfigurationException e) {
    88             e.printStackTrace(); // broken SAXException chaining
     90            Main.error(e); // broken SAXException chaining
    8991            throw new SAXException(e);
    9092        } finally {
Note: See TracChangeset for help on using the changeset viewer.