Ticket #18772: 18772.patch

File 18772.patch, 784 bytes (added by GerdP, 5 weeks ago)
  • src/org/openstreetmap/josm/tools/Territories.java

     
    2626import javax.json.JsonValue;
    2727import javax.json.stream.JsonParser;
    2828import javax.json.stream.JsonParser.Event;
     29import javax.json.stream.JsonParsingException;
    2930
    3031import org.openstreetmap.josm.data.coor.LatLon;
    3132import org.openstreetmap.josm.data.osm.DataSet;
     
    187188                    }
    188189                }
    189190            }
    190         } catch (IOException e) {
     191        } catch (IOException |JsonParsingException e) {
    191192            throw new JosmRuntimeException(e);
    192193        }
    193194    }