Changeset 34085 in osm for applications


Ignore:
Timestamp:
2018-03-12T22:40:11+01:00 (7 years ago)
Author:
donvip
Message:

fix #josm16088 - catch NumberFormatException when parsing Bing attribution text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/BingAerialTileSource.java

    r33081 r34085  
    162162            System.err.println("Could not parse Bing aerials attribution metadata.");
    163163            e.printStackTrace();
    164         } catch (ParserConfigurationException e) {
    165             e.printStackTrace();
    166         } catch (XPathExpressionException e) {
     164        } catch (ParserConfigurationException | XPathExpressionException | NumberFormatException e) {
    167165            e.printStackTrace();
    168166        }
Note: See TracChangeset for help on using the changeset viewer.