diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/CommentsManagerImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/CommentsManagerImpl.java index a310e77a536..024aaa9cac6 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/CommentsManagerImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/CommentsManagerImpl.java @@ -101,12 +101,6 @@ public class CommentsManagerImpl implements CommentsManager { log.error("Null Point Exception.Comment at comment id "+apAppCommentId+" is null."); 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; }