}
catch (Exception e)
{
// reset cache in folder
folderImpl.resetFolders(false);
throw new DocumentException("Unable to access folders for folder " + folder.getPath() + ".");
}
// folder folders cache populated, get folders from folder
// to provide packaging as filtered node set
return folder.getFolders();