Changeset 6313 in josm for trunk/src/org
- Timestamp:
- 2013-10-07T13:48:08+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DownloadPrimitiveAction.java
r6310 r6313 105 105 }); 106 106 } catch (InterruptedException ex) { 107 Main.warn( ex);107 Main.warn("InterruptedException while displaying error dialog"); 108 108 } catch (InvocationTargetException ex) { 109 109 Main.warn(ex); -
trunk/src/org/openstreetmap/josm/data/CustomConfigurator.java
r6310 r6313 336 336 while (busy) CustomConfigurator.class.wait(); 337 337 } catch (InterruptedException ex) { 338 Main.warn( ex);338 Main.warn("InterruptedException while reading local plugin information"); 339 339 } 340 340 -
trunk/src/org/openstreetmap/josm/data/conflict/Conflict.java
r6069 r6313 124 124 this.mergedMap = mergedMap; 125 125 } 126 127 @Override 128 public String toString() { 129 return "Conflict [my=" + my + ", their=" + their + "]"; 130 } 126 131 } -
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r6310 r6313 221 221 wait(1000); 222 222 } catch (InterruptedException e) { 223 Main.warn(e); 223 // Occurs frequently during JOSM shutdown, log set to debug only 224 Main.debug("InterruptedException in "+MapStatus.class.getSimpleName()); 224 225 } 225 226 ms.modifiers = mouseState.modifiers; -
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r6310 r6313 497 497 Thread.sleep(1000 / fps); 498 498 } catch (InterruptedException ex) { 499 Main.warn( ex);499 Main.warn("InterruptedException in "+NavigatableComponent.class.getSimpleName()+" during smooth scrolling"); 500 500 } 501 501 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/ChangesetDialog.java
r6267 r6313 507 507 future.get(); 508 508 } catch(InterruptedException e) { 509 e.printStackTrace();509 Main.warn("InterruptedException in "+getClass().getSimpleName()+" while downloading changeset header"); 510 510 } catch(ExecutionException e){ 511 511 e.printStackTrace(); -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetHeaderDownloadTask.java
r6084 r6313 159 159 SwingUtilities.invokeAndWait(r); 160 160 } catch(InterruptedException e) { 161 e.printStackTrace();161 Main.warn("InterruptedException in "+getClass().getSimpleName()+" while updating changeset cache"); 162 162 } catch(InvocationTargetException e) { 163 163 Throwable t = e.getTargetException(); -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/ChangesetQueryTask.java
r6296 r6313 127 127 SwingUtilities.invokeAndWait(r); 128 128 } catch(InterruptedException e) { 129 e.printStackTrace();129 Main.warn("InterruptedException in "+getClass().getSimpleName()+" while updating changeset cache"); 130 130 } catch(InvocationTargetException e) { 131 131 Throwable t = e.getTargetException(); -
trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
r6289 r6313 573 573 sortRequests(localOnly); 574 574 } catch (InterruptedException e) { 575 // Shouldn't happen575 Main.warn("InterruptedException in "+getClass().getSimpleName()+" during WMS request"); 576 576 } 577 577 } … … 930 930 t.join(); 931 931 } catch (InterruptedException e) { 932 // Shouldn't happen 933 e.printStackTrace(); 932 Main.warn("InterruptedException in "+getClass().getSimpleName()+" while cancelling grabber threads"); 934 933 } 935 934 } -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
r6310 r6313 80 80 Thread.sleep(5); 81 81 } catch (InterruptedException e) { 82 Main.warn( e);82 Main.warn("InterruptedException in "+getClass().getSimpleName()+" while loading image "+file.getPath()); 83 83 } 84 84 } -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ThumbsLoader.java
r6310 r6313 70 70 tracker.waitForID(0); 71 71 } catch (InterruptedException e) { 72 Main.error(" InterruptedException ");72 Main.error(" InterruptedException while loading thumb"); 73 73 return null; 74 74 } … … 86 86 Thread.sleep(10); 87 87 } catch(InterruptedException ie) { 88 Main.warn( ie);88 Main.warn("InterruptedException while drawing thumb"); 89 89 } 90 90 } -
trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadWmsAlongTrackAction.java
r6084 r6313 70 70 wait(200); 71 71 } catch (InterruptedException e) { 72 e.printStackTrace();72 Main.warn("InterruptedException in "+getClass().getSimpleName()+" while precaching WMS"); 73 73 } 74 74 } -
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r6310 r6313 547 547 Thread.sleep(1000); 548 548 } catch (InterruptedException ex) { 549 Main.warn( ex);549 Main.warn("InterruptedException in "+getClass().getSimpleName()+" during sleep"); 550 550 } 551 551 } -
trunk/src/org/openstreetmap/josm/io/OsmConnection.java
r6248 r6313 56 56 Thread.sleep(100); 57 57 } catch (InterruptedException ex) { 58 Main.warn("InterruptedException in "+getClass().getSimpleName()+" during cancel"); 58 59 } 59 60 -
trunk/src/org/openstreetmap/josm/io/imagery/Grabber.java
r6310 r6313 67 67 Thread.sleep(random(1000, 2000)); 68 68 } catch (InterruptedException e1) { 69 Main.debug( e1.getMessage());69 Main.debug("InterruptedException in "+getClass().getSimpleName()+" during WMS request"); 70 70 } 71 71 if(i == maxTries) { -
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r6282 r6313 687 687 return null; 688 688 } catch(InterruptedException e) { 689 e.printStackTrace();689 Main.warn("InterruptedException in "+PluginHandler.class.getSimpleName()+" while loading locally available plugin information"); 690 690 return null; 691 691 } … … 858 858 plugins = buildListOfPluginsToLoad(parent,monitor.createSubTaskMonitor(1, false)); 859 859 } catch (ExecutionException e) { 860 Main.warn(tr("Failed to download plugin information list") );860 Main.warn(tr("Failed to download plugin information list")+": ExecutionException"); 861 861 e.printStackTrace(); 862 862 // don't abort in case of error, continue with downloading plugins below 863 863 } catch (InterruptedException e) { 864 Main.warn(tr("Failed to download plugin information list")); 865 e.printStackTrace(); 864 Main.warn(tr("Failed to download plugin information list")+": InterruptedException"); 866 865 // don't abort in case of error, continue with downloading plugins below 867 866 } … … 911 910 return plugins; 912 911 } catch(InterruptedException e) { 913 e.printStackTrace();912 Main.warn("InterruptedException in "+PluginHandler.class.getSimpleName()+" while updating plugins"); 914 913 alertFailedPluginUpdate(parent, pluginsToUpdate); 915 914 return plugins; -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r6310 r6313 394 394 Thread.sleep(1); 395 395 } catch (InterruptedException ex) { 396 Main.warn( ex);396 Main.warn("InterruptedException in "+Utils.class.getSimpleName()+" while getting clipboard content"); 397 397 } 398 398 }
Note:
See TracChangeset
for help on using the changeset viewer.