Revision 9a16923a
Added by Niels Hoffmann almost 13 years ago
cdmlib-commons/src/main/java/eu/etaxonomy/cdm/common/mediaMetaData/ImageMetaData.java | ||
---|---|---|
117 | 117 |
throw e; |
118 | 118 |
} catch (ImageReadException e) { |
119 | 119 |
logger.error("Could not open url: " + imageUri + ". " + e.getMessage()); |
120 |
throw new IOException(e); |
|
120 | 121 |
} |
121 | 122 |
|
122 | 123 |
} |
... | ... | |
148 | 149 |
} |
149 | 150 |
} catch (ImageReadException e) { |
150 | 151 |
logger.warn(e.getLocalizedMessage()); |
152 |
throw new IOException(e); |
|
151 | 153 |
} catch (IOException e) { |
152 | 154 |
logger.warn("The image server is not available!"); |
153 | 155 |
throw e; |
Also available in: Unified diff
ImageMetaData now throws IOException when not able to read an image