Skip to content

Commit

Permalink
Changed to catched exception
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinczeczko committed Feb 16, 2017
1 parent a96f9e9 commit cb30ede
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public JsonObject updateJsonObject(JsonObject descriptor) {
if (element.containsKey(path[idx])) {
element = element.getJsonObject(path[idx]);
} else {
throw new ConfigurationException(
throw new IllegalArgumentException (
"Wrong config override. There is no matching element " + entry.getKey()
+ " in the configuration");
}
Expand Down

0 comments on commit cb30ede

Please sign in to comment.