//folderService.save(folder.getRoot());
saveRoot(sessionId, root);
}
} catch (OperationFailedException e) {
UserSession userSession = getUserSession(sessionId);
throw new DbOperationFailedException(
userSession.translate("couldNotDelete", xFolder.getName(), e.getLocalizedMessage()), e);
} catch (PaloIOException e) {
UserSession userSession = getUserSession(sessionId);
throw new DbOperationFailedException(
userSession.translate("couldNotDelete", xFolder.getName(), e.getLocalizedMessage()), e);
}
}