diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java index e95dedbf77..c58631f9f4 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java @@ -5041,7 +5041,7 @@ public AtlasVertex moveBusinessPolicy(Set policyIds, String assetId, Str AtlasVertex assetVertex = AtlasGraphUtilsV2.findByGuid(graph, assetId); if(assetVertex == null){ - throw new AtlasBaseException(AtlasErrorCode.INVALID_PARAMETERS, "assetId not found"); + throw new AtlasBaseException(AtlasErrorCode.INVALID_PARAMETERS, "asset not found"); } // Get the sets of governed and non-compliant policy GUIDs