From d917bf1103f102f0e4ae49851cd23c8e7b07c934 Mon Sep 17 00:00:00 2001 From: tosmers Date: Sun, 15 Feb 2015 17:50:59 +0000 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20In=20der=20Klasse=20ccm-docmgr/src/c?= =?UTF-8?q?om/arsdigita/cms/docmgr/ui/VersionUploadForm.java=20die=20FormP?= =?UTF-8?q?rocessException=20in=20der=20Zeile=20197=20umgebaut.=20In=20der?= =?UTF-8?q?=20Klasse=20ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FileUplo?= =?UTF-8?q?adForm.java=20die=20FormProcessException=20in=20der=20Zeile=202?= =?UTF-8?q?25=20umgebaut.=20In=20der=20Klasse=20ccm-cms-types-image/src/co?= =?UTF-8?q?m/arsdigita/cms/contenttypes/ui/ImagePropertiesStep.java=20die?= =?UTF-8?q?=20FormProcessException=20in=20der=20Zeile=20304=20umgebaut.=20?= =?UTF-8?q?(in=20allen=20drei=20F=C3=A4llen=20wurde=20einfach=20die=20Exce?= =?UTF-8?q?ption=20an=20die=20FormProcessException=20weitergegeben)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@3204 8810af33-2d31-482b-a856-94f89814c4df --- .../com/arsdigita/cms/contenttypes/ui/ImagePropertiesStep.java | 2 +- ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FileUploadForm.java | 2 +- .../src/com/arsdigita/cms/docmgr/ui/VersionUploadForm.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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