Changeset 7803 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2014-12-14T06:15:05+01:00 (5 years ago)
Author:
bastiK
Message:

see #10836 - catch all errors in SVG library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r7748 r7803  
    11801180        try {
    11811181            svg.render(g);
    1182         } catch (SVGException ex) {
     1182        } catch (Exception ex) {
     1183            Main.error("Unable to load svg: {0}", ex.getMessage());
    11831184            return null;
    11841185        }
Note: See TracChangeset for help on using the changeset viewer.