diff options
Diffstat (limited to 'services')
-rw-r--r-- | services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImpl.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImpl.java b/services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImpl.java index 07863234c3..b4a735409c 100644 --- a/services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImpl.java +++ b/services/activity-spec/activity-spec-web/activity-spec-service/src/main/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImpl.java @@ -106,7 +106,7 @@ public class ActivitySpecManagerImpl implements ActivitySpecManager { throw new CoreException(new ErrorCode.ErrorCodeBuilder() .withCategory(ErrorCategory.APPLICATION) .withId(exception.code().id()) - .withMessage("Name already in use").build()); + .withMessage("name already in use").build()); } } @@ -216,8 +216,7 @@ public class ActivitySpecManagerImpl implements ActivitySpecManager { throw new CoreException(new ErrorCode.ErrorCodeBuilder() .withCategory(ErrorCategory.APPLICATION) .withId("ACTIVITYSPEC_NOT_FOUND") - .withMessage(String.format("Activity Spec With Id %s and version %s not found", - activitySpecId, version.getId())) + .withMessage("No Activity Spec found for the given identifiers") .build()); } |