Changeset 10212 in josm for trunk/src/org/openstreetmap/josm/tools/OpenBrowser.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/OpenBrowser.java
r8540 r10212 7 7 import java.io.IOException; 8 8 import java.net.URI; 9 import java.net.URISyntaxException; 9 10 10 11 import org.openstreetmap.josm.Main; … … 62 63 } 63 64 } 64 } catch ( Exception e) {65 } catch (IOException e) { 65 66 Main.warn(e); 66 67 return e.getMessage(); … … 88 89 try { 89 90 return displayUrl(new URI(url)); 90 } catch ( Exception e) {91 } catch (URISyntaxException e) { 91 92 return e.getMessage(); 92 93 }
Note:
See TracChangeset
for help on using the changeset viewer.