Ignore:
Timestamp:
2014-03-10T02:36:47+01:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] update to JOSM 6906

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignsReader.java

    r29854 r30319  
    2121import org.xml.sax.SAXParseException;
    2222import org.xml.sax.helpers.DefaultHandler;
    23 
    2423import org.openstreetmap.josm.Main;
    25 import org.openstreetmap.josm.io.OsmDataParsingException;
    2624import org.openstreetmap.josm.plugins.roadsigns.Sign.SignParameter;
    2725import org.openstreetmap.josm.plugins.roadsigns.Sign.Tag;
     
    2927import org.openstreetmap.josm.plugins.roadsigns.javacc.TokenMgrError;
    3028import org.openstreetmap.josm.tools.LanguageInfo;
     29import org.openstreetmap.josm.tools.XmlParsingException;
    3130
    3231/**
     
    202201        }
    203202
    204         private String getMandatoryAttribute(Attributes atts, String ident) throws OsmDataParsingException {
     203        private String getMandatoryAttribute(Attributes atts, String ident) throws XmlParsingException {
    205204            String result = atts.getValue(ident);
    206205            if (result == null) {
     
    223222            throw new ExtendedParsingException(e).rememberLocation(locator);
    224223        }
    225         protected void throwException(String msg) throws OsmDataParsingException {
    226             throw new OsmDataParsingException(msg).rememberLocation(locator);
     224        protected void throwException(String msg) throws XmlParsingException {
     225            throw new XmlParsingException(msg).rememberLocation(locator);
    227226        }
    228227
     
    230229            try {
    231230                throwException(s);
    232             } catch (OsmDataParsingException ex) {
     231            } catch (XmlParsingException ex) {
    233232                System.err.println("Warning: "+ex.getMessage());
    234233            }
    235234        }
    236         public void wireSupplements() throws OsmDataParsingException {
     235        public void wireSupplements() throws XmlParsingException {
    237236            Map<String, Sign> map = new HashMap<String, Sign>();
    238237            for (Sign sign : allSigns) {
Note: See TracChangeset for help on using the changeset viewer.