Index: lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java =================================================================== RCS file: /usr/local/cvsroot/lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java,v diff -u -r1.16 -r1.17 --- lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java 30 Mar 2007 03:40:09 -0000 1.16 +++ lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java 14 May 2007 06:04:50 -0000 1.17 @@ -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); } }