public IFolder GetFolder(CmisPath cmisPath)
{
IFolder f = Get(cmisPath) as IFolder;
// we need to check if that object is a folder
if (f == null)
{
var path = _curDir.Combine(cmisPath).ToString();
var msg = String.Format("The object identified by '{0}' is not a folder.", path);
throw new CmisObjectNotFoundException(msg);
}
return f;
}