diff --git a/components/org.wso2.carbon.identity.scim2.provider/src/main/java/org/wso2/carbon/identity/scim2/provider/resources/UserResource.java b/components/org.wso2.carbon.identity.scim2.provider/src/main/java/org/wso2/carbon/identity/scim2/provider/resources/UserResource.java index 084aa6cf..817fc727 100644 --- a/components/org.wso2.carbon.identity.scim2.provider/src/main/java/org/wso2/carbon/identity/scim2/provider/resources/UserResource.java +++ b/components/org.wso2.carbon.identity.scim2.provider/src/main/java/org/wso2/carbon/identity/scim2/provider/resources/UserResource.java @@ -403,9 +403,8 @@ private void removeAskPasswordConfirmationCodeThreadLocal() { * * @param count Requested item count. * @return Validated count parameter. - * @throws CharonException If the count is negative. */ - private int validateCountParameter(Integer count) throws CharonException { + private int validateCountParameter(Integer count) { int maximumItemsPerPage = IdentityUtil.getMaximumItemPerPage(); if (count > maximumItemsPerPage) {