Changeset 2390 in josm
- Timestamp:
- 2009-11-03T14:28:34+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/UploadAction.java
r2348 r2390 2 2 package org.openstreetmap.josm.actions; 3 3 4 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;6 6 7 7 import java.awt.event.ActionEvent; … … 28 28 import org.openstreetmap.josm.data.conflict.ConflictCollection; 29 29 import org.openstreetmap.josm.data.osm.Changeset; 30 import org.openstreetmap.josm.data.osm.DataSet;31 30 import org.openstreetmap.josm.data.osm.OsmPrimitive; 32 31 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; … … 511 510 return; 512 511 } 513 // any other API exception514 //515 else {516 ex.printStackTrace();517 String msg = tr("<html>Uploading <strong>failed</strong>."518 + "<br>"519 + "{0}"520 + "</html>",521 ex.getDisplayMessage()522 );523 JOptionPane.showMessageDialog(524 Main.map,525 msg,526 tr("Upload to OSM API failed"),527 JOptionPane.ERROR_MESSAGE528 );529 return;530 }531 512 } 532 513
Note:
See TracChangeset
for help on using the changeset viewer.