less errors in image parser

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6907 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 30b337fa9f
commit 2eea806005

@ -122,10 +122,8 @@ public class genericImageParser extends AbstractParser implements Idiom {
try {
image = jpegDecoder.decodeAsBufferedImage();
} catch (ImageFormatException e) {
Log.logException(e);
throw new ParserException(e.getMessage(), location);
} catch (IOException e) {
Log.logException(e);
throw new ParserException(e.getMessage(), location);
}
JPEGDecodeParam decodeParam = jpegDecoder.getJPEGDecodeParam();

Loading…
Cancel
Save