Ignore:
Timestamp:
2018-08-16T20:07:05+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #16633 - add robustness against invalid time entries in GPX files

File:
1 edited

Legend:

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

    r12985 r14159  
    55import java.io.File;
    66import java.io.IOException;
     7import java.time.DateTimeException;
    78import java.util.Date;
    89import java.util.concurrent.TimeUnit;
     
    117118                return date;
    118119            }
    119         } catch (UncheckedParseException e) {
     120        } catch (UncheckedParseException | DateTimeException e) {
    120121            Logging.error(e);
    121122        }
Note: See TracChangeset for help on using the changeset viewer.