diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties index 8993fcc89..c2ffa8928 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties @@ -93,3 +93,4 @@ ui.intended_audience_cannot_be_null=Intended Audience cannot be null ui.error.sending_document=An error occurred while trying to send document ui.invalid_term=Invalid term ui.folder.not_empty=Folders must be empty before they can be deleted +ui.error.unexpected=An unexpected error occurred diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties index 8993fcc89..c2ffa8928 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties @@ -93,3 +93,4 @@ ui.intended_audience_cannot_be_null=Intended Audience cannot be null ui.error.sending_document=An error occurred while trying to send document ui.invalid_term=Invalid term ui.folder.not_empty=Folders must be empty before they can be deleted +ui.error.unexpected=An unexpected error occurred diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FolderContentsTableForm.java b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FolderContentsTableForm.java index d9b8c1aa6..d30138600 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FolderContentsTableForm.java +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/FolderContentsTableForm.java @@ -187,10 +187,12 @@ class FolderContentsTableForm extends Form } } catch (PersistenceException exc) { exc.printStackTrace(); - throw new FormProcessException("An unexpected error occurred"); + throw new FormProcessException(GlobalizationUtil.globalize( + "ui.error.unexpected")); } catch (DataObjectNotFoundException exc) { exc.printStackTrace(); - throw new FormProcessException("An unexpected error occurred"); + throw new FormProcessException(GlobalizationUtil.globalize( + "ui.error.unexpected")); } } }