TModel tModel = (TModel) entryContext.getEntry().getEntryDetail();
try
{
if ((claimKeyedRef = conformanceClaimMade(tModel)) == null)
{
throw new AssertionResultException(
AssertionResult.RESULT_NOT_APPLICABLE);
}
// we have a conformance claim, so check the keyedReference keyValue
if (!claimKeyedRef
.getKeyValue()
.equals(WSIConstants.ATTRVAL_UDDI_CLAIM_KEYVALUE))
{
throw new AssertionResultException(
AssertionResult.RESULT_FAILED,
"The tModel key is: ["
+ tModel.getTModelKey()
+ "].\nThe categoryBag is: ["
+ tModel.getCategoryBag()