Ignore:
Timestamp:
2009-10-15T04:45:06+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3719: Upload dialog still lists closed changesets after JOSM knows they've been closed
fixed #3668: Upload dialog: comment textbox buggy
Added context sensitive help to upload dialog
Improved error handling for errors due to closing already closed changesets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/ExceptionDialogUtil.java

    r2240 r2289  
    144144
    145145    /**
     146     * Explains a {@see OsmApiException} which was thrown because of a conflict
     147     *
     148     * @param e the exception
     149     */
     150    public static void explainConflict(OsmApiException e) {
     151        JOptionPane.showMessageDialog(Main.parent, ExceptionUtil.explainConflict(e), tr("Conflict"),
     152                JOptionPane.ERROR_MESSAGE);
     153    }
     154
     155    /**
    146156     * Explains a {@see UnknownHostException} which has caused an {@see OsmTransferException}.
    147157     * This is most likely happening when there is an error in the API URL or when
     
    231241                return;
    232242            }
     243            if (oae.getResponseCode() == HttpURLConnection.HTTP_CONFLICT) {
     244                explainConflict(oae);
     245                return;
     246            }
    233247
    234248        }
Note: See TracChangeset for help on using the changeset viewer.