Changeset 14270 in josm for trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
- Timestamp:
- 2018-09-22T12:38:49+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r13825 r14270 392 392 attributes.setResponseCode(404); 393 393 attributes.setError(e); 394 attributes.setException(e); 394 395 boolean doCache = isResponseLoadable(null, 404, null) || cacheAsEmpty(); 395 396 if (doCache) { … … 404 405 } else { 405 406 attributes.setError(e); 407 attributes.setException(e); 406 408 attributes.setResponseCode(599); // set dummy error code, greater than 500 so it will be not cached 407 409 return false; … … 410 412 } catch (InterruptedException e) { 411 413 attributes.setError(e); 414 attributes.setException(e); 412 415 Logging.logWithStackTrace(Logging.LEVEL_WARN, e, "JCS - Exception during download {0}", getUrlNoException()); 413 416 Thread.currentThread().interrupt();
Note:
See TracChangeset
for help on using the changeset viewer.