mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Modify CommentsManagerImpl
Removed Not found Exception
This commit is contained in:
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.");
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user