In der Klasse stackTraces ergänzt.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3234 8810af33-2d31-482b-a856-94f89814c4df
master
tosmers 2015-02-18 20:16:32 +00:00
parent 265de9b70e
commit 44845d1b57
2 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ public class ObjectAddAdmin extends UserAddForm {
}
}
} catch (DataObjectNotFoundException e) {
e.printStackTrace();
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.permissions.cannot_add_user"));
}

View File

@ -141,6 +141,7 @@ class RoleAdminAddForm extends UserAddForm {
role.save();
} catch (DataObjectNotFoundException e) {
e.printStackTrace();
throw new FormProcessException(GlobalizationUtil.globalize("cms.ui.staff.cannot_add_user"));
}