[UPDATE]
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-94f89814c4dfmaster
parent
14f5a918c1
commit
d917bf1103
|
|
@ -301,7 +301,7 @@ public class ImagePropertiesStep extends SimpleEditStep {
|
|||
|
||||
return image;
|
||||
} catch (IOException ex) {
|
||||
throw new FormProcessException(ex.getMessage());
|
||||
throw new FormProcessException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue