VMS Help CXXLSTD, Runtime Support, bad_exception *Conan The Librarian |
Standard C++ Library NAME bad_exception - defines the type of object thrown from an unexpected handler. SYNOPSIS #include <exception> namespace std { class bad_exception : public exception { public: bad_exception() throw(); bad_exception(const bad_exception&) throw(); bad_exception& operator=(const bad_exception&) throw(); virtual ~bad_exception() throw(); virtual const char* what() const throw(); }; } DESCRIPTION bad_exception() throw(); This function constructs an object of class bad_exception. bad_exception(const bad_exception&) throw(); bad_exception& operator=(const bad_exception&) throw(); These functions copy an object of class bad_exception. virtual const char* what() const throw(); what() returns a string providing information about the error. The string returned by what() is implementation defined. SEE ALSO exception, unexpected_handler STANDARDS CONFORMANCE ANSI X3J16/ISO WG21 Joint C++ Committee
|