Throw a std::domain_error exception supplying the specified message as the sole argument to its constructor.
std::domain_error
message
Declared in <bslstl_stdexceptutil.h>
<bslstl_stdexceptutil.h>
[[noreturn]] static void throwDomainError(char const* message);
This function does not return.