Changeset 15738 in josm for trunk/src


Ignore:
Timestamp:
2020-01-20T20:51:21+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18583 - FileWatcher: catch possible exceptions thrown by FileSystem.newWatchService

File:
1 edited

Legend:

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

    r14128 r15738  
    5555            watcher = FileSystems.getDefault().newWatchService();
    5656            thread = new Thread((Runnable) this::processEvents, "File Watcher");
    57         } catch (IOException e) {
     57        } catch (IOException | UnsupportedOperationException | UnsatisfiedLinkError e) {
    5858            Logging.error(e);
    5959        }
Note: See TracChangeset for help on using the changeset viewer.