diff options
-rwxr-xr-x | cps-ri/src/main/java/org/onap/cps/spi/impl/FragmentPersistenceServiceImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/impl/FragmentPersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/FragmentPersistenceServiceImpl.java index 0ecf72d772..82554b3d0a 100755 --- a/cps-ri/src/main/java/org/onap/cps/spi/impl/FragmentPersistenceServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/FragmentPersistenceServiceImpl.java @@ -62,11 +62,11 @@ public class FragmentPersistenceServiceImpl implements FragmentPersistenceServic return anchorDetails.getAnchorName();
} catch (final CpsNotFoundException ex) {
throw new CpsValidationException("Validation Error",
- String.format("Dataspace and/or Module do not exist."));
+ "Dataspace and/or Module do not exist.");
} catch (final DataIntegrityViolationException ex) {
throw new CpsValidationException("Duplication Error",
String.format("Anchor with name %s already exist in dataspace %s.",
anchorDetails.getAnchorName(), anchorDetails.getDataspace()));
}
}
-}
\ No newline at end of file +}
|