Changeset 7251 for branches


Ignore:
Timestamp:
11/26/10 10:24:15 (10 years ago)
Author:
melissa
Message:

Catch IOException when parsing ROIs, so that we can still read the file if one of the ROI streams is truncated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/components/bio-formats/src/loci/formats/in/ZeissZVIReader.java

    r7129 r7251  
    521521        int imageNum = getImageNumber(name, -1); 
    522522        if (imageNum != -1) { 
    523           parseROIs(imageNum, name, store); 
     523          try { 
     524            parseROIs(imageNum, name, store); 
     525          } 
     526          catch (IOException e) { 
     527            LOGGER.debug("Could not parse all ROIs.", e); 
     528          } 
    524529        } 
    525530      } 
Note: See TracChangeset for help on using the changeset viewer.