Ignore:
Timestamp:
2015-08-20T23:01:54+02:00 (9 years ago)
Author:
wiktorn
Message:

Bing fixes.

  • Pass and handle error on url creation (attribution not loaded yet). Closes: #11776
  • Properly identify "no tiles at this zoom level" situation in tile sets. This tiles are never marked as loaded. Closes: #11785
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/ICachedLoaderJob.java

    r8624 r8673  
    22package org.openstreetmap.josm.data.cache;
    33
     4import java.io.IOException;
    45import java.net.URL;
    56
     
    2122     * method to get download URL for Job
    2223     * @return URL that should be fetched
     24     * @throws IOException when could not determine the URL of the tile
    2325     *
    2426     */
    25     URL getUrl();
     27    URL getUrl() throws IOException;
    2628
    2729    /**
     
    4244     * @param listener cache loader listener
    4345     * @param force true if the load should skip all the caches (local & remote)
     46     * @throws IOException on failure from getUrl() call
    4447     */
    45     void submit(ICachedLoaderListener listener, boolean force);
     48    void submit(ICachedLoaderListener listener, boolean force) throws IOException;
    4649}
Note: See TracChangeset for help on using the changeset viewer.