Index: lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java =================================================================== diff -u -r70aab47cedf78d1e44e6e755b36fb095911bed52 -r298d075b933d9304102c935364c63d69a9e2739f --- lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java (.../ZipFileUtil.java) (revision 70aab47cedf78d1e44e6e755b36fb095911bed52) +++ lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java (.../ZipFileUtil.java) (revision 298d075b933d9304102c935364c63d69a9e2739f) @@ -255,7 +255,7 @@ } catch (IOException e1) { - throw new ZipFileUtilException("An error has occurred while trying to zip the files. Error message is: ", e1); + throw new ZipFileUtilException("An error has occurred while trying to zip the files. Error message is: "+e1.getMessage(), e1); } return fileNameOfZipToCreate; @@ -283,7 +283,7 @@ } catch(FileUtilException e) { - throw new ZipFileUtilException("The temporary directory to place the zip file could be not created: ", e); + throw new ZipFileUtilException("The temporary directory to place the zip file could be not created: "+e.getMessage(), e); } } @@ -309,7 +309,7 @@ } catch (IOException e1) { - throw new ZipFileUtilException("An error has occurred while trying to zip the files. Error message is: ", e1); + throw new ZipFileUtilException("An error has occurred while trying to zip the files. Error message is: "+e1.getMessage(), e1); } return fileNameOfZipToCreate; @@ -363,7 +363,7 @@ } catch(IOException e) { - throw new ZipFileUtilException("An error has occurred while trying to zip the files. Error message is: ", e); + throw new ZipFileUtilException("An error has occurred while trying to zip the files. Error message is: "+e.getMessage(), e); } }