diff --git a/ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertiesStep.java b/ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertiesStep.java index f849f696d..055f4ec99 100755 --- a/ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertiesStep.java +++ b/ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertiesStep.java @@ -301,7 +301,7 @@ public class ImagePropertiesStep extends SimpleEditStep { return image; } catch (IOException ex) { - throw new FormProcessException(ex.getMessage()); + throw new FormProcessException(ex); } } diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FileUploadForm.java b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FileUploadForm.java index ed62352db..1075c63fa 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FileUploadForm.java +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FileUploadForm.java @@ -222,7 +222,7 @@ public class FileUploadForm extends Form return f1.getID(); } catch (java.io.IOException ex) { ex.printStackTrace(); - throw new FormProcessException(ex.getMessage()); + throw new FormProcessException(ex); } //} catch (ContentTypeException ex) { diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/VersionUploadForm.java b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/VersionUploadForm.java index c6e1f781c..af9547ecd 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/VersionUploadForm.java +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/VersionUploadForm.java @@ -194,7 +194,7 @@ class VersionUploadForm extends Form } catch (java.io.IOException ex) { ex.printStackTrace(); - throw new FormProcessException(ex.getMessage()); + throw new FormProcessException(ex); } // Annotate transaction description