mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6930 review updates
This commit is contained in:
@@ -578,7 +578,7 @@ public class HoldServiceImpl extends ServiceBaseImpl
|
||||
}
|
||||
catch (AccessDeniedException ade)
|
||||
{
|
||||
throw new AlfrescoRuntimeException(I18NUtil.getMessage(MSG_ERR_HOLD_PERMISSION_GENERIC_ERROR), ade);
|
||||
throw new AccessDeniedException(I18NUtil.getMessage(MSG_ERR_HOLD_PERMISSION_GENERIC_ERROR), ade);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -592,7 +592,7 @@ public class HoldServiceImpl extends ServiceBaseImpl
|
||||
sb.append(name);
|
||||
sb.append("'");
|
||||
}
|
||||
throw new AlfrescoRuntimeException(I18NUtil.getMessage(MSG_ERR_HOLD_PERMISSION_DETAILED_ERROR) + sb.toString());
|
||||
throw new AccessDeniedException(I18NUtil.getMessage(MSG_ERR_HOLD_PERMISSION_DETAILED_ERROR) + sb.toString());
|
||||
}
|
||||
|
||||
invokeBeforeDeleteHold(hold);
|
||||
|
Reference in New Issue
Block a user