Modify CommentsManagerImpl

Removed Not found Exception
merge-requests/7/head
nishadi 7 years ago
parent 4fb77cbee8
commit 906535eb24

@ -101,12 +101,6 @@ public class CommentsManagerImpl implements CommentsManager {
log.error("Null Point Exception.Comment at comment id "+apAppCommentId+" is null."); log.error("Null Point Exception.Comment at comment id "+apAppCommentId+" is null.");
return false; return false;
} }
try {
throw new NotFoundException("Comment with comment id "+apAppCommentId+" does not exit");
} catch (NotFoundException e) {
log.error("Not Found Exception occurs.", e);
}
return true; return true;
} }

Loading…
Cancel
Save