Skip to content

Commit cd568e8

Browse files
authored
Updating exception message.
1 parent 92289ea commit cd568e8

File tree

1 file changed

+3
-3
lines changed
  • olcut-config-json/src/main/java/com/oracle/labs/mlrg/olcut/config/json

1 file changed

+3
-3
lines changed

olcut-config-json/src/main/java/com/oracle/labs/mlrg/olcut/config/json/JsonLoader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ protected void parseComponent(ObjectNode node) {
310310
}
311311
} else {
312312
throw new ConfigLoaderException("Invalid value in component " + curComponent + ", propertylist " + propName + ", node = " + e.getValue().toString() + "" +
313-
", all OLCUT values must be strings, numerical types are not parsed.");
313+
", all OLCUT property list values must be strings, other types are not parsed.");
314314
}
315315
}
316316
}
@@ -331,7 +331,7 @@ protected void parseComponent(ObjectNode node) {
331331
mapOutput.put(mapEntry.getKey(), new SimpleProperty(mapEntry.getValue().textValue()));
332332
} else {
333333
throw new ConfigLoaderException("Invalid value in component " + curComponent + ", propertymap " + propName + ", node = " + e.getValue().toString() +
334-
", all OLCUT values must be strings, numerical types are not parsed.");
334+
", all OLCUT property map values must be strings, other types are not parsed.");
335335
}
336336
}
337337
rpd.add(propName, new MapProperty(mapOutput));
@@ -341,7 +341,7 @@ protected void parseComponent(ObjectNode node) {
341341
rpd.add(propName, new SimpleProperty(e.getValue().textValue()));
342342
} else {
343343
throw new ConfigLoaderException("Invalid value in component " + curComponent + ", property " + propName + ", node = " + e.getValue().toString() +
344-
", all OLCUT values must be strings, numerical types are not parsed.");
344+
", all OLCUT property values must be strings, other types are not parsed.");
345345
}
346346
}
347347
}

0 commit comments

Comments
 (0)