Ignore:
Timestamp:
2007-04-02T12:46:04+02:00 (19 years ago)
Author:
imi
Message:
  • Fixed the markerlayer import throwing NPE when image not found
  • Fixed an Exception when server responding with an illegal HTTP-header
File:
1 edited

Legend:

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

    r189 r204  
    6666                data.add(list);
    6767                return data;
     68        } catch (IllegalArgumentException e) {
     69                // caused by HttpUrlConnection in case of illegal stuff in the response
     70                if (cancel)
     71                        return null;
     72                throw e;
    6873        } catch (IOException e) {
    6974                if (cancel)
Note: See TracChangeset for help on using the changeset viewer.