Changeset 2789


Ignore:
Timestamp:
05/16/07 11:28:30 (13 years ago)
Author:
curtis
Message:

Eliminate some no-longer-necessary exception handling.

Location:
trunk/loci/plugins/browser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/browser/CacheManager.java

    r2672 r2789  
    444444    int[] coords; 
    445445    synchronized (read) { 
    446       try { 
    447         coords = read.getZCTCoords(index); 
    448         curZ = coords[0]; 
    449         curC = coords[1]; 
    450         curT = coords[2]; 
    451       } 
    452       catch (FormatException exc) { 
    453         exc.printStackTrace(); 
    454         LociDataBrowser.dumpException(exc); 
    455       } 
     446      coords = read.getZCTCoords(index); 
     447      curZ = coords[0]; 
     448      curC = coords[1]; 
     449      curT = coords[2]; 
    456450    } 
    457451 
  • trunk/loci/plugins/browser/LociDataBrowser.java

    r2756 r2789  
    224224    int result = -23; 
    225225    synchronized (reader) { 
    226       try { 
    227         result = reader.getIndex(z, c, t); 
    228       } 
    229       catch (FormatException exc) { 
    230         dumpException(exc); 
    231       } 
     226      result = reader.getIndex(z, c, t); 
    232227    } 
    233228    return result; 
Note: See TracChangeset for help on using the changeset viewer.