Changeset 2480 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-11-19T13:30:09+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 1 added
- 1 deleted
- 1 edited
-
ChangesetClosedException.java (added)
-
OsmApi.java (modified) (2 diffs)
-
OsmChangesetCloseException.java (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r2478 r2480 338 338 * @throws OsmTransferException if something goes wrong. 339 339 * @throws IllegalArgumentException if changeset is null 340 * @throws IllegalArgumentException if changeset.getId() == 0340 * @throws IllegalArgumentException if changeset.getId() <= 0 341 341 * 342 342 */ … … 359 359 monitor 360 360 ); 361 } catch(OsmApiException e) { 362 if (e.getResponseCode() == HttpURLConnection.HTTP_CONFLICT) 363 throw new ChangesetClosedException(e.getErrorHeader()); 364 throw e; 361 365 } finally { 362 366 monitor.finishTask();
Note:
See TracChangeset
for help on using the changeset viewer.
