diff --git a/services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/thumbnails/ImportThumbnailRequestProcessor.java b/services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/thumbnails/ImportThumbnailRequestProcessor.java index 8f9c77ccf2..40e0b6b9ed 100644 --- a/services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/thumbnails/ImportThumbnailRequestProcessor.java +++ b/services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/thumbnails/ImportThumbnailRequestProcessor.java @@ -41,9 +41,9 @@ public void process(Exchange exchange) throws IOException { /** * Deletes the temporarily stored uploaded thumbnail file * @param exchange - * @throws Exception + * @throws IOException */ - public void cleanupTempThumbnailFile(Exchange exchange) throws Exception { + public void cleanupTempThumbnailFile(Exchange exchange) throws IOException { final Message in = exchange.getIn(); String tempValue = (String) in.getHeader(CdrBinaryPath); Path tempPath = Paths.get(tempValue);