Whole document tree
std::runtime_error class Reference
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
std::runtime_error Class Reference One of two subclasses of exception .
More...
#include <std_stdexcept.h >
Inheritance diagram for std::runtime_error:
[legend ] Collaboration diagram for std::runtime_error:
[legend ] List of all members.
Detailed Description
One of two subclasses of exception .
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 .
Constructor & Destructor Documentation
std::runtime_error::runtime_error
(
const string &
__arg
)
[explicit]
std::runtime_error::~runtime_error
(
)
throw () [virtual]
Member Function Documentation
const char * std::runtime_error::what
(
)
const throw () [virtual]
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 .
Member Data Documentation
string std::runtime_error::_M_msg [private]
The documentation for this class was generated from the following files:
Generated on Mon Apr 8 03:19:31 2002 for libstdc++-v3 Source by
1.2.15