Changeset 10212 in josm for trunk/src/org/openstreetmap/josm/gui/help
- Timestamp:
- 2016-05-15T00:51:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/help/HelpBrowser.java
r10210 r10212 16 16 import java.awt.event.WindowEvent; 17 17 import java.io.BufferedReader; 18 import java.io.IOException; 18 19 import java.io.InputStreamReader; 19 20 import java.io.StringReader; … … 155 156 css.append('\n'); 156 157 } 157 } catch ( Exception e) {158 } catch (IOException e) { 158 159 Main.error(tr("Failed to read CSS file ''help-browser.css''. Exception is: {0}", e.toString())); 159 160 Main.error(e); … … 239 240 try { 240 241 help.getEditorKit().read(new StringReader(content), document, 0); 241 } catch ( Exception e) {242 } catch (IOException | BadLocationException e) { 242 243 Main.error(e); 243 244 } … … 376 377 history.setCurrentUrl(url); 377 378 this.url = url; 378 } catch ( Exception e) {379 } catch (HelpContentReaderException e) { 379 380 Main.warn(e); 380 381 HelpAwareOptionPane.showOptionDialog(
Note:
See TracChangeset
for help on using the changeset viewer.