Changeset 2599 in josm for trunk/src/org/openstreetmap/josm/io/OsmApi.java
- Timestamp:
- 2009-12-09T21:25:40+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r2569 r2599 80 80 String serverUrl = Main.pref.get("osm-server.url", "http://api.openstreetmap.org/api"); 81 81 if (serverUrl == null) 82 throw new IllegalStateException(tr("Preference ''{0}'' missing. Can' t initialize OsmApi.", "osm-server.url"));82 throw new IllegalStateException(tr("Preference ''{0}'' missing. Can''t initialize OsmApi.", "osm-server.url")); 83 83 return getOsmApi(serverUrl); 84 84 } … … 342 342 monitor 343 343 ); 344 } catch(ChangesetClosedException e) { 345 e.setSource(ChangesetClosedException.Source.UPDATE_CHANGESET); 346 throw e; 344 347 } catch(OsmApiException e) { 345 348 if (e.getResponseCode() == HttpURLConnection.HTTP_CONFLICT && ChangesetClosedException.errorHeaderMatchesPattern(e.getErrorHeader()))
Note:
See TracChangeset
for help on using the changeset viewer.