Standard C++ Library Reference ISO/IEC (VERSION3)

range_error
class range_error : public runtime_error {
public:
range_error(const string& message);
};
The class serves as the base class for all exceptions thrown to report a range error. The value
returned by what() is a copy of message.data().
runtime_error
class runtime_error : public exception {
public:
runtime_error(const string& message);
};
The class serves as the base class for all exceptions thrown to report errors presumably
detectable only when the program executes. The value returned by what() is a copy of
message.data().
underflow_error
class underflow_error : public runtime_error {
public:
underflow_error(const string& message);
};
The class serves as the base class for all exceptions thrown to report an arithmetic underflow.
The value returned by what() is a copy of message.data().
See also the Table of Contents and the Index.
Copyright © 1992-2001 by P.J. Plauger. All rights reserved.