- Timestamp:
- 2016-09-23T20:27:32+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/session/SessionReader.java
r10632 r11043 292 292 return layerDependencies; 293 293 } 294 295 @Override 296 public String toString() { 297 return "ImportSupport [layerName=" + layerName + ", layerIndex=" + layerIndex + ", layerDependencies=" 298 + layerDependencies + ", inZipPath=" + inZipPath + ']'; 299 } 294 300 } 295 301 … … 489 495 try { 490 496 layer = imp.load(e, support, progressMonitor.createSubTaskMonitor(1, false)); 491 } catch (IllegalDataException | IOException ex) { 497 if (layer == null) { 498 throw new IllegalStateException("Importer " + imp + " returned null for " + support); 499 } 500 } catch (IllegalDataException | IllegalStateException | IOException ex) { 492 501 exception = ex; 493 502 } … … 511 520 } 512 521 513 if (layer == null) throw new RuntimeException();514 522 layersMap.put(idx, layer); 515 523 }
Note:
See TracChangeset
for help on using the changeset viewer.