Changeset 11984 in josm
- Timestamp:
- 2017-04-23T14:45:06+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ExceptionDialogUtil.java
r11921 r11984 362 362 HelpAwareOptionPane.showOptionDialog( 363 363 Main.parent, 364 ExceptionUtil.explain ClientTimeout(e),364 ExceptionUtil.explainGeneric(e), 365 365 tr("Communication with OSM server failed"), 366 366 JOptionPane.ERROR_MESSAGE, … … 477 477 explainClientTimeout(oae); 478 478 return; 479 case 509: 479 case 509: case 429: 480 480 explainBandwidthLimitExceeded(oae); 481 481 return; -
trunk/src/org/openstreetmap/josm/io/OverpassDownloadReader.java
r11924 r11984 201 201 final String errorPlusRest = ex.getMessage().split(errorIndicator)[1]; 202 202 if (errorPlusRest != null) { 203 final String error = errorPlusRest.split("</")[0] ;203 final String error = errorPlusRest.split("</")[0].replaceAll(".*::request_read_and_idx::",""); 204 204 ex.setErrorHeader(error); 205 205 }
Note:
See TracChangeset
for help on using the changeset viewer.