Polishing

This commit is contained in:
Juergen Hoeller
2019-06-12 14:11:39 +02:00
parent d032beddb5
commit 7622d1e3fa
7 changed files with 53 additions and 23 deletions

View File

@@ -1019,7 +1019,7 @@ public class Jaxb2Marshaller implements MimeMarshaller, MimeUnmarshaller, Generi
return FileCopyUtils.copyToByteArray(dataHandler.getInputStream());
}
catch (IOException ex) {
throw new UnmarshallingFailureException("Couldn't read attachment", ex);
throw new UnmarshallingFailureException("Could not read attachment", ex);
}
}