Improve error message when a null value is set as local data center

Description

When a null value is set (via a variable) as localDc using withLocalDatacenter(string) of the builder, the error message is not very descriptive:

The parameter is marked as NotNull but the IDE will not catch runtime values (i.e. external conf).

Environment

None

Pull Requests

None

Status

Assignee

Olivier Michallat

Reporter

Jorge Bay Gondra

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Fix versions

Affects versions

4.2.0

Priority

Major
Configure