// Skipping the first policy set as it is the root policy set.
for (int i = 1; i < policySetList.size(); i++) {
PolicySetType policySet = policySetList.get(i);
if (resourceValue.equals(PolicySetWizard.getResourceValue(policySet))) {
if (targetPolicySet != null) {
throw new HighLevelPolicyManagementServiceException("More than one resource policy sets match the given resource id!");
}
targetPolicySet = policySet;
}
}