config.validateRequired() does not check for empty values only nulls
- the throw UnsetValueException holds only item
name, does not telling which exact item is not set.
For instance if you have a configuration like this:
host:
url:
port:
database:
url:
port:
UnsetValueException will for instance throw "item url not set", better would be "host.url not set"
config.validateRequired()does not check for empty values only nullsname, does not telling which exact item is not set.For instance if you have a configuration like this:
UnsetValueException will for instance throw "item url not set", better would be "host.url not set"