Ignore:
Timestamp:
2009-06-17T09:50:53+02:00 (16 years ago)
Author:
stoecker
Message:

fix exception handling again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSLayer.java

    r15960 r15962  
    3535import org.openstreetmap.josm.gui.dialogs.LayerListPopup;
    3636import org.openstreetmap.josm.gui.layer.Layer;
     37import org.openstreetmap.josm.io.OsmTransferException;
    3738import org.openstreetmap.josm.tools.ImageProvider;
    3839import org.openstreetmap.josm.data.coor.EastNorth;
     
    110111            } catch (IOException e) {
    111112                System.out.println("Download action cancelled by user or server did not respond");
     113                break;
     114            } catch (OsmTransferException e) {
     115                System.out.println("OSM transfer failed");
    112116                break;
    113117            }
Note: See TracChangeset for help on using the changeset viewer.