Ignore:
Timestamp:
2016-07-24T14:48:47+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1166 - Exception handlers should preserve the original exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java

    r10611 r10627  
    493493                    currentFuture.get();
    494494                } catch (CancellationException e) {
     495                    Main.trace(e);
    495496                    model.setUploadState(layer, UploadOrSaveState.CANCELED);
    496497                } catch (InterruptedException | ExecutionException e) {
     
    534535                    currentFuture.get();
    535536                } catch (CancellationException e) {
     537                    Main.trace(e);
    536538                    model.setSaveState(layerInfo.getLayer(), UploadOrSaveState.CANCELED);
    537539                } catch (InterruptedException | ExecutionException e) {
Note: See TracChangeset for help on using the changeset viewer.