try {
ForumFactory forumFactory = ForumFactory.getInstance(getAuthToken(request));
ProfileManager manager = forumFactory.getProfileManager();
Group group = manager.getGroup(Integer.parseInt(request.getParameter("id")));
manager.deleteGroup(group);
errors.add("general", new ActionError("delGroup.confirm"));
}
catch( NotFoundException fnfe ) {
errors.add("general", new ActionError("delGroup.notFound"));