Ignore:
Timestamp:
2017-03-19T02:26:34+01:00 (7 years ago)
Author:
Don-vip
Message:

PMD - Strict Exceptions

File:
1 edited

Legend:

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

    r10463 r11746  
    1111import java.util.Map.Entry;
    1212import java.util.concurrent.Future;
     13import java.util.concurrent.RejectedExecutionException;
    1314import java.util.regex.Matcher;
    1415import java.util.regex.Pattern;
     
    115116                // Let's load all required history
    116117                Main.worker.submit(new HistoryLoaderAndListener(toLoad));
    117             } catch (Exception e) {
     118            } catch (RejectedExecutionException e) {
    118119                rememberException(e);
    119120                setFailed(true);
Note: See TracChangeset for help on using the changeset viewer.