Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/tools/ExifReader.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ExifReader.java
r11745 r12620 46 46 return readTime(metadata); 47 47 } catch (JpegProcessingException | IOException e) { 48 Main.error(e);48 Logging.error(e); 49 49 } 50 50 return null; … … 112 112 date.setTime(date.getTime() + (long) (TimeUnit.SECONDS.toMillis(1) * Double.parseDouble("0." + subSeconds))); 113 113 } catch (NumberFormatException e) { 114 Main.warn("Failed parsing sub seconds from [{0}]", subSeconds);115 Main.warn(e);114 Logging.warn("Failed parsing sub seconds from [{0}]", subSeconds); 115 Logging.warn(e); 116 116 } 117 117 } … … 119 119 } 120 120 } catch (UncheckedParseException e) { 121 Main.error(e);121 Logging.error(e); 122 122 } 123 123 return null; … … 146 146 return dir == null ? null : dir.getInteger(ExifIFD0Directory.TAG_ORIENTATION); 147 147 } catch (JpegProcessingException | IOException e) { 148 Main.error(e);148 Logging.error(e); 149 149 } 150 150 return null; … … 163 163 return readLatLon(dirGps); 164 164 } catch (JpegProcessingException | IOException | MetadataException e) { 165 Main.error(e);165 Logging.error(e); 166 166 } 167 167 return null; … … 197 197 return readDirection(dirGps); 198 198 } catch (JpegProcessingException | IOException e) { 199 Main.error(e);199 Logging.error(e); 200 200 } 201 201 return null; … … 255 255 return readSpeed(dirGps); 256 256 } catch (JpegProcessingException | IOException e) { 257 Main.error(e);257 Logging.error(e); 258 258 } 259 259 return null; … … 299 299 return readElevation(dirGps); 300 300 } catch (JpegProcessingException | IOException e) { 301 Main.error(e);301 Logging.error(e); 302 302 } 303 303 return null;
Note:
See TracChangeset
for help on using the changeset viewer.