Skip to content

Commit

Permalink
Merge pull request #521 from hwupathum/exception-names
Browse files Browse the repository at this point in the history
Add correct scimType values to BadRequestException
  • Loading branch information
hwupathum authored Jan 22, 2024
2 parents 22f2388 + aaa0ed3 commit 3068110
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,8 @@ private void prepareAddedRemovedUserLists(Set<String> addedMembers, Set<String>
}

if (memberObject.get(SCIMConstants.RoleSchemaConstants.DISPLAY) == null) {
throw new BadRequestException("User can't be resolved from the given user Id.");
throw new BadRequestException("User can't be resolved from the given user Id.",
ResponseCodeConstants.INVALID_VALUE);
}

List<String> roleList;
Expand Down

0 comments on commit 3068110

Please sign in to comment.