Skip to content

Commit

Permalink
changed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
PRATHAM2002-DS committed Jul 15, 2024
1 parent 26a45a3 commit 8f41ce4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private void processUpdateStakeholderTitle(EntityMutationContext context, AtlasE
if (hasRemovedItems(currentDomainQualifiedNames, domainQualifiedNames)) {
Iterator<AtlasVertex> childrens = getActiveChildrenVertices(vertex, STAKEHOLDER_TITLE_EDGE_LABEL);
if (childrens.hasNext()) {
throw new AtlasBaseException(OPERATION_NOT_SUPPORTED, "Cannot update StakeholderTitle as it has reference to Stakeholder");
throw new AtlasBaseException(OPERATION_NOT_SUPPORTED, "Cannot remove StakeholderTitle as it has reference to Stakeholder");
}
}
}
Expand Down

0 comments on commit 8f41ce4

Please sign in to comment.