} catch (Throwable t) {
throw t;
} finally{
List<String> listaIds = this._commentManager.searchCommentIds(null);
RatingDAO ratingDao = (RatingDAO) ((RatingManager)this._ratingManager).getRatingDAO();
for (int i=0; i< listaIds.size(); i++){
IRating rating = this._ratingManager.getCommentRating(Integer.parseInt(listaIds.get(i)));
if (rating!=null){
ratingDao.removeRating(rating.getCommentId());
}
this._commentManager.deleteComment(Integer.parseInt(listaIds.get(i)));
}
IRating rating = this._ratingManager.getContentRating(contentId);
if (rating!=null){