diff options
Diffstat (limited to 'catalog-model/src/main')
-rw-r--r-- | catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java index 87ad62195f..71abc54cb7 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java @@ -178,13 +178,13 @@ public enum ToscaType { try { return ConstraintUtil.parseToCollection(value, new TypeReference<List<Object>>() {}); } catch (ConstraintValueDoNotMatchPropertyTypeException e) { - throw new IllegalArgumentException("Value must be a valid timestamp", e); + throw new IllegalArgumentException("Value must be a valid List", e); } case MAP: try { return ConstraintUtil.parseToCollection(value, new TypeReference<Map<String, Object>>() {}); } catch (ConstraintValueDoNotMatchPropertyTypeException e) { - throw new IllegalArgumentException("Value must be a valid timestamp", e); + throw new IllegalArgumentException("Value must be a valid Map", e); } default: return null; |