Changeset 15805 in josm for trunk/src


Ignore:
Timestamp:
2020-02-01T01:07:17+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18652 - proper error feedback when adding invalid WMTS GetCapabilities URL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/imagery/AddWMTSLayerPanel.java

    r13828 r15805  
    7373                layerPanel.add(layerTable, GBC.eol().fill());
    7474                layerPanel.revalidate();
    75             } catch (IOException | WMTSGetCapabilitiesException ex) {
     75            } catch (IOException | RuntimeException | WMTSGetCapabilitiesException ex) {
    7676                Logging.trace(ex);
    7777                JOptionPane.showMessageDialog(
Note: See TracChangeset for help on using the changeset viewer.