diff --git a/src/main/java/edu/harvard/iq/dataverse/dataaccess/ImageThumbConverter.java b/src/main/java/edu/harvard/iq/dataverse/dataaccess/ImageThumbConverter.java index f7c87608e6a..2290082d13e 100644 --- a/src/main/java/edu/harvard/iq/dataverse/dataaccess/ImageThumbConverter.java +++ b/src/main/java/edu/harvard/iq/dataverse/dataaccess/ImageThumbConverter.java @@ -217,7 +217,7 @@ private static boolean generatePDFThumbnail(StorageIO storageIO, int s //inputStream = storageIO.getInputStream(); pdfFileChannel = storageIO.getReadChannel(); } catch (Exception ioex) { - logger.warning("caught IOException trying to open an input stream for " + storageIO.getDataFile().getStorageIdentifier()); + logger.warning("caught Exception trying to open an input stream for " + storageIO.getDataFile().getStorageIdentifier()); return false; } @@ -407,7 +407,7 @@ private static boolean isThumbnailCached(StorageIO storageIO, int size try { cached = storageIO.isAuxObjectCached(THUMBNAIL_SUFFIX + size); } catch (Exception ioex) { - logger.fine("caught IO exception while checking for a cached thumbnail (file " + storageIO.getDataFile().getStorageIdentifier() + ")"); + logger.fine("caught Exception while checking for a cached thumbnail (file " + storageIO.getDataFile().getStorageIdentifier() + ")"); return false; } @@ -671,7 +671,7 @@ public static String rescaleImage(BufferedImage fullSizeImage, int width, int he try { rescaleImage(fullSizeImage, width, height, size, outputFileStream); } catch (Exception ioex) { - logger.warning("caught IO exceptiopn trying to create rescaled image " + outputLocation); + logger.warning("caught Exceptiopn trying to create rescaled image " + outputLocation); return null; }