if ( !policySet.isUnresolved() ) {
//appliesTo = policySet.getAppliesTo();
//if (!PolicyValidationUtils.isPolicySetApplicable(scdlFragment, appliesTo, attachPointType)) {
if (!applicablePolicySets.contains(policySet)) {
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 ");
}
}