C++ Exception Library - runtime_error
Description
It is a runtime error exception.
Declaration
Following is the declaration for std::runtime_error.
class runtime_error;
C++11
class runtime_error;
Parameters
none
Return Value
none
Exceptions
No-throw guarantee − no members throw exceptions.
Members
constructor − what_arg has the same content as the value returned by member what.
what − It is used to get string identifying exception.
exception.htm
Advertisements