Changeset 6595


Ignore:
Timestamp:
06/29/10 11:36:32 (9 years ago)
Author:
curtis
Message:

Better error handling when reading thumbnails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/src/loci/plugins/in/ThumbLoader.java

    r6588 r6595  
    3535import javax.swing.JLabel; 
    3636 
     37import loci.common.DebugTools; 
    3738import loci.formats.FormatException; 
    3839import loci.formats.FormatTools; 
     
    4142import loci.formats.gui.BufferedImageReader; 
    4243import loci.plugins.BF; 
    43 import loci.plugins.util.WindowTools; 
    4444 
    4545/** 
     
    146146    catch (IOException e) { exc = e; } 
    147147    if (exc != null) { 
    148       WindowTools.reportException(exc, quiet, 
    149         "Error loading thumbnail for series #" + (series + 1)); 
     148      BF.warn(quiet, "Error loading thumbnail for series #" + (series + 1)); 
     149      BF.debug(DebugTools.getStackTrace(exc)); 
    150150    } 
    151151  } 
Note: See TracChangeset for help on using the changeset viewer.