Changeset 10212 in josm for trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
- Timestamp:
- 2016-05-15T00:51:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r10179 r10212 83 83 84 84 import com.kitfox.svg.SVGDiagram; 85 import com.kitfox.svg.SVGException; 85 86 import com.kitfox.svg.SVGUniverse; 86 87 … … 986 987 } 987 988 } 988 } catch ( Exception e) {989 } catch (IOException e) { 989 990 Main.warn(tr("Failed to handle zip file ''{0}''. Exception was: {1}", archive.getName(), e.toString())); 990 991 } … … 1153 1154 } catch (SAXReturnException r) { 1154 1155 return r.getResult(); 1155 } catch ( Exception e) {1156 } catch (IOException | SAXException e) { 1156 1157 Main.warn("Parsing " + base + fn + " failed:\n" + e); 1157 1158 return null; … … 1427 1428 svg.render(g); 1428 1429 } 1429 } catch ( Exception ex) {1430 } catch (SVGException ex) { 1430 1431 Main.error("Unable to load svg: {0}", ex.getMessage()); 1431 1432 return null;
Note:
See TracChangeset
for help on using the changeset viewer.