lasdf1234 commented on code in PR #11226:
URL: https://github.com/apache/gravitino/pull/11226#discussion_r3311979822
##########
plugins/idp-basic/src/main/java/org/apache/gravitino/idp/storage/service/IdpGroupMetaService.java:
##########
@@ -58,7 +58,7 @@ public IdpGroupPO getIdpGroupByName(String groupName) {
SessionUtils.getWithoutCommit(
IdpGroupMetaMapper.class, mapper ->
mapper.selectIdpGroup(groupName));
if (groupPO == null) {
- throw new NotFoundException("IdP group not found: %s", groupName);
+ throw new NoSuchGroupException("IdP group not found: %s", groupName);
Review Comment:
Got Resolved.All the Exceptions have been modified.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]