In der Klasse ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/VersionUploadForm.java die FormProcessException in der Zeile 197 umgebaut.
In der Klasse ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FileUploadForm.java die FormProcessException in der Zeile 225 umgebaut.
In der Klasse ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertiesStep.java die FormProcessException in der Zeile 304 umgebaut.
(in allen drei Fällen wurde einfach die Exception an die FormProcessException weitergegeben)

git-svn-id: https://svn.libreccm.org/ccm/trunk@3204 8810af33-2d31-482b-a856-94f89814c4df
master
tosmers 2015-02-15 17:50:59 +00:00
parent 14f5a918c1
commit d917bf1103
3 changed files with 3 additions and 3 deletions

View File

@ -301,7 +301,7 @@ public class ImagePropertiesStep extends SimpleEditStep {
return image;
} catch (IOException ex) {
throw new FormProcessException(ex.getMessage());
throw new FormProcessException(ex);
}
}

View File

@ -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) {

View File

@ -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