Changeset 3167 for trunk


Ignore:
Timestamp:
09/17/07 16:00:38 (12 years ago)
Author:
curtis
Message:

Deal with exceptions from TiffTools.overwriteComment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/out/OMETiffWriter.java

    r3108 r3167  
    6464        TiffTools.overwriteComment(currentId, xml); 
    6565      } 
    66       catch (FormatException exc) { LogTools.trace(exc); } 
    67       catch (IOException exc) { LogTools.trace(exc); } 
     66      catch (FormatException exc) { 
     67        IOException io = 
     68          new IOException("Unable to append OME-XML comment"); 
     69        io.initCause(exc); 
     70        throw io; 
     71      } 
    6872    } 
    6973    super.close(); 
Note: See TracChangeset for help on using the changeset viewer.