- Timestamp:
- 06/11/07 22:56:09 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0-Beta2/components/server/src/ome/services/ThumbnailBean.java
r1595 r1627 524 524 compressThumbnailToDisk(metadata, image); 525 525 } catch (IOException e) { 526 e.printStackTrace();526 log.error("Thumbnail could not be compressed.", e.getCause()); 527 527 throw new ResourceError(e.getMessage()); 528 528 } … … 578 578 return ioService.getThumbnail(metadata); 579 579 } catch (IOException e) { 580 e.printStackTrace();580 log.error("Could not obtain thumbnail metadata.", e.getCause()); 581 581 throw new ResourceError(e.getMessage()); 582 582 } … … 636 636 return thumbnail; 637 637 } catch (IOException e) { 638 e.printStackTrace();638 log.error("Could not obtain thumbnail direct.", e.getCause()); 639 639 throw new ResourceError(e.getMessage()); 640 640 } finally { … … 642 642 byteStream.close(); 643 643 } catch (IOException e) { 644 e.printStackTrace();644 log.error("Could not close byte stream.", e.getCause()); 645 645 throw new ResourceError(e.getMessage()); 646 646 }
