Ignore:
Timestamp:
2018-05-26T02:47:41+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16316 - catch InvalidPathException

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r13836 r13838  
    2424import java.nio.charset.StandardCharsets;
    2525import java.nio.file.Files;
     26import java.nio.file.InvalidPathException;
    2627import java.nio.file.Path;
    2728import java.nio.file.Paths;
     
    392393     * @throws IOException if any I/O error occurs
    393394     * @throws IllegalArgumentException if {@code in} or {@code out} is {@code null}
     395     * @throws InvalidPathException if a Path object cannot be constructed from the abstract path
    394396     * @since 7003
    395397     */
Note: See TracChangeset for help on using the changeset viewer.