It is a runtime error exception.
Following is the declaration for std::runtime_error.
No-throw guarantee − no members throw exceptions.
constructor − what_arg has the same content as the value returned by member what.
what − It is used to get string identifying exception.