protected void EnsureThatLocalFileNameContainsLegalCharacters(IFileSystemInfo localFile, CmisConstraintException e) {
if (!Utils.IsValidISO885915(localFile.Name)) {
OperationsLogger.Warn(string.Format("Server denied creation of {0}, perhaps because it contains a UTF-8 character", localFile.Name), e);
throw new InteractionNeededException(string.Format("Server denied creation of {0}", localFile.Name), e) {
Title = string.Format("Server denied creation of {0}", localFile.Name),
Description = string.Format("Server denied creation of {0}, perhaps because it contains a UTF-8 character", localFile.FullName)
};
}
}
}