MNT-12194: Unhelpful error message in AlfrescoCMISServiceImpl.java

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2016-11-04 14:10:48 +00:00
parent 75d056f198
commit b81b8714e3

View File

@@ -1548,7 +1548,7 @@ public class AlfrescoCmisServiceImpl extends AbstractCmisService implements Alfr
if (!info.isVariant(CMISObjectVariant.CURRENT_VERSION) && !info.isVariant(CMISObjectVariant.PWC))
{
throw new CmisStreamNotSupportedException("Content can only be set ondocuments!");
throw new CmisStreamNotSupportedException("Content can only be set on private working copies or current versions.");
}
final NodeRef nodeRef = info.getNodeRef();