Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java
r12382 r12620 160 160 } 161 161 } catch (ReflectiveOperationException | IllegalArgumentException e) { 162 Main.error(e); // SAXException does not dump inner exceptions.162 Logging.error(e); // SAXException does not dump inner exceptions. 163 163 throwException(e); 164 164 } … … 206 206 return f; 207 207 } catch (NoSuchFieldException ex) { 208 Main.trace(ex);208 Logging.trace(ex); 209 209 fields.put(s, null); 210 210 return null; … … 254 254 } catch (SAXException e) { 255 255 // Exception very unlikely to happen, so no need to translate this 256 Main.error(e, "Cannot disable 'load-external-dtd' feature:");256 Logging.log(Logging.LEVEL_ERROR, "Cannot disable 'load-external-dtd' feature:", e); 257 257 } 258 258 reader.parse(new InputSource(in));
Note:
See TracChangeset
for help on using the changeset viewer.