Changeset 12588 in josm


Ignore:
Timestamp:
2017-08-10T23:42:54+02:00 (4 months ago)
Author:
bastiK
Message:

see #15122 - handle UncheckedParseException gracefully

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r12138 r12588  
    4343import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    4444import org.openstreetmap.josm.tools.CheckParameterUtil;
     45import org.openstreetmap.josm.tools.UncheckedParseException;
    4546import org.openstreetmap.josm.tools.Utils;
    4647import org.openstreetmap.josm.tools.date.DateUtils;
     
    631632        } catch (IllegalDataException e) {
    632633            throw e;
    633         } catch (XmlStreamParsingException e) {
     634        } catch (XmlStreamParsingException | UncheckedParseException e) {
    634635            throw new IllegalDataException(e.getMessage(), e);
    635636        } catch (XMLStreamException e) {
Note: See TracChangeset for help on using the changeset viewer.