#include <std_stdexcept.h>
Inheritance diagram for std::runtime_error:
Public Methods | |
runtime_error (const string &__arg) | |
virtual | ~runtime_error () throw () |
virtual const char * | what () const throw () |
Private Attributes | |
string | _M_msg |
Runtime errors represent problems outside the scope of a program; they cannot be easily predicted and can generally only be caught as the program executes.
Definition at line 110 of file std_stdexcept.h.
|
Takes a character string describing the error. Definition at line 60 of file stdexcept.cc. References std::string. |
|
Definition at line 63 of file stdexcept.cc. |
|
Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor). Reimplemented from std::exception. Definition at line 66 of file stdexcept.cc. |
|
Definition at line 112 of file std_stdexcept.h. |