Ignore:
Timestamp:
2016-05-15T00:51:10+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S2221 - "Exception" should not be caught when not required by called methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadTaskList.java

    r10135 r10212  
    1616import java.util.List;
    1717import java.util.Set;
     18import java.util.concurrent.CancellationException;
     19import java.util.concurrent.ExecutionException;
    1820import java.util.concurrent.Future;
    1921
     
    249251                try {
    250252                    future.get();
    251                 } catch (Exception e) {
     253                } catch (InterruptedException | ExecutionException | CancellationException e) {
    252254                    Main.error(e);
    253255                    return;
Note: See TracChangeset for help on using the changeset viewer.