bCancel = (instance != null && instance.tryLoad());
}
if (bCancel)
{
ConstraintViolationException e = new ConstraintViolationException(
"err.persistence.cascadeCancel",
new Object[]{new StringId(m_metaclass.getCaption()),
getName(), new StringId(attribute.getCaption())});
e.setClassName(getClassName());
e.setOIDHolder(this);
throw e;
}
}
}