Changeset 35918 in osm for applications


Ignore:
Timestamp:
2022-02-09T21:04:22+01:00 (3 years ago)
Author:
Don-vip
Message:

see #21844 - catch RuntimeException

File:
1 edited

Legend:

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

    r35913 r35918  
    1  // License: GPL. For details, see Readme.txt file.
     1// License: GPL. For details, see Readme.txt file.
    22package org.openstreetmap.gui.jmapviewer.tilesources;
    33
     
    102102                try {
    103103                    matcher.appendReplacement(output, FeatureAdapter.retrieveApiKey(imageryId));
    104                 } catch (IOException|NullPointerException e) {
     104                } catch (IOException | RuntimeException e) {
    105105                    throw new IllegalArgumentException(e);
    106106                }
Note: See TracChangeset for help on using the changeset viewer.