Ignore:
Timestamp:
2014-10-04T17:41:26+02:00 (10 years ago)
Author:
Don-vip
Message:

fix various warnings

File:
1 edited

Legend:

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

    r7518 r7596  
    33
    44import java.io.BufferedReader;
     5import java.io.IOException;
    56import java.io.InputStream;
    67import java.io.InputStreamReader;
     
    165166    }
    166167
    167     public NmeaReader(InputStream source) {
     168    public NmeaReader(InputStream source) throws IOException {
    168169
    169170        // create the data tree
     
    201202            data.tracks.add(new ImmutableGpxTrack(currentTrack, Collections.<String, Object>emptyMap()));
    202203
    203         } catch (Exception e) {
     204        } catch (IllegalDataException e) {
    204205            Main.warn(e);
    205206        }
Note: See TracChangeset for help on using the changeset viewer.