C++ Stdexcept Library runtime_error


Advertisements

Description

It is a runtime error exception and this class defines the type of objects thrown as exceptions to report errors that can only be detected during runtime.

Declaration

Following is the declaration for std::runtime_error.

class runtime_error;

C++11

class runtime_error;

Parameters

none

Return Value

none

Members

constructor − Here the string passed as what_arg has the same content as the value returned by member what.

stdexcept.htm
Advertisements