Changeset 4540 in josm for trunk/src/org
- Timestamp:
- 2011-10-24T15:00:55+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ExceptionDialogUtil.java
r4020 r4540 299 299 300 300 /** 301 * Explains a {@see OsmApiException} which was thrown because of a 302 * bandwidth limit (HTTP 509) 303 * 304 * @param e the exception 305 */ 306 public static void explainBandwidthLimitExceeded(OsmApiException e) { 307 HelpAwareOptionPane.showOptionDialog( 308 Main.parent, 309 ExceptionUtil.explainBandwidthLimitExceeded(e), 310 tr("Bandwidth Limit Exceeded"), 311 JOptionPane.ERROR_MESSAGE, 312 ht("/ErrorMessages#BandwidthLimit") 313 ); 314 } 315 316 /** 301 317 * Explains a {@see OsmApiException} with a generic error 302 318 * message. … … 441 457 explainClientTimeout(oae); 442 458 return; 459 case 509: 460 explainBandwidthLimitExceeded(oae); 461 return; 443 462 default: 444 463 explainGenericHttpException(oae);
Note:
See TracChangeset
for help on using the changeset viewer.