- public void updateFileMetainfo(final File parentDirectory)
- throws IOException {
- BufferedImage image;
- try {
- image = Utils.getBufferedImage(getFile(parentDirectory));
- } catch (final ImageFormatError e) {
- throw new RuntimeException(e);
- }
+ public void updateFileMetainfo(final File parentDirectory) throws Exception {
+ final BufferedImage image = Utils
+ .getBufferedImage(getFile(parentDirectory));