diff --git a/org.springframework.integration.file/src/main/java/org/springframework/integration/file/FileReadingMessageSource.java b/org.springframework.integration.file/src/main/java/org/springframework/integration/file/FileReadingMessageSource.java index c64bac5ffe..2514567f78 100644 --- a/org.springframework.integration.file/src/main/java/org/springframework/integration/file/FileReadingMessageSource.java +++ b/org.springframework.integration.file/src/main/java/org/springframework/integration/file/FileReadingMessageSource.java @@ -117,7 +117,7 @@ public class FileReadingMessageSource implements MessageSource, Initializi } catch (Exception e) { throw new IllegalArgumentException( - "Unexpected IOException when looking for source directory: " + inputDirectory, e); + "Unexpected IOException when looking for source directory: " + inputDirectory, ioe); } } } diff --git a/org.springframework.integration.file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java b/org.springframework.integration.file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java index 11470c1809..13247f85fa 100644 --- a/org.springframework.integration.file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java +++ b/org.springframework.integration.file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java @@ -89,7 +89,7 @@ public class FileWritingMessageHandler extends AbstractReplyProducingMessageHand } catch (Exception e) { throw new IllegalArgumentException( - "Unexpected IOException when looking for destination directory: " + destinationDirectory, e); + "Unexpected IOException when looking for destination directory: " + destinationDirectory, ioe); } } this.destinationDirectory = dir;