if (null != compatible && null != confPolicy) {
if (PolicyUtils.compatible(compatible, confPolicy)) {
compatible = intersect(compatible, confPolicy);
} else {
LogUtils.log(LOG, Level.SEVERE, "INCOMPATIBLE_HTTPCLIENTPOLICY_ASSERTIONS");
throw new PolicyException(new org.apache.cxf.common.i18n.Message(
"INCOMPATIBLE_HTTPCLIENTPOLICY_ASSERTIONS", LOG));
}
}
return compatible;
}