Changeset 6643 in josm for trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java
- Timestamp:
- 2014-01-06T16:39:45+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java
r6552 r6643 181 181 } catch (MalformedURLException e) { 182 182 if (canceled) return null; 183 e.printStackTrace();183 Main.error(e); 184 184 return null; 185 185 } catch (IOException e) { … … 234 234 JosmTextArea area = new JosmTextArea(details); 235 235 area.setEditable(false); 236 area.setLineWrap(true); 237 area.setWrapStyleWord(true); 236 area.setLineWrap(true); 237 area.setWrapStyleWord(true); 238 238 JScrollPane scrollPane = new JScrollPane(area); 239 239 scrollPane.setPreferredSize(new Dimension(500, 300)); … … 273 273 } catch (MalformedURLException e) { 274 274 if (canceled) return; 275 e.printStackTrace();275 Main.error(e); 276 276 return; 277 277 } catch (IOException e) { … … 322 322 } catch(IOException e) { 323 323 // just failed to write the cache file. No big deal, but log the exception anyway 324 e.printStackTrace();324 Main.error(e); 325 325 } finally { 326 326 if (writer != null) { … … 367 367 } catch (PluginListParseException e) { 368 368 Main.error(tr("Failed to parse plugin list document from site ''{0}''. Skipping site. Exception was: {1}", site, e.toString())); 369 e.printStackTrace();369 Main.error(e); 370 370 } 371 371 }
Note:
See TracChangeset
for help on using the changeset viewer.