for (PolicySet policySet : confOp.getPolicySets()) {
if ( !policySet.isUnresolved() ) {
appliesTo = policySet.getAppliesTo();
if (!PolicyValidationUtils.isPolicySetApplicable(scdlFragment, appliesTo, attachPointType)) {
throw new PolicyValidationException("Policy Set '" + policySet.getName()
+ " specified for operation " + confOp.getName()
+ "' does not constrain extension type "
+ attachPointType.getName());
}
} else {
throw new PolicyValidationException("Policy Set '" + policySet.getName()
+ " specified for operation " + confOp.getName()
+ "' is not defined in this domain ");
}
}