exception class — Base class for all standard exceptions
class exception { public: exception( ) throw( ); exception(const exception&) throw( ); exception& operator=(const exception&) throw( ); virtual ~exception( ) throw( ); virtual const char* what( ) const throw( ); };
The exception
class is the
base class for all exception objects thrown by the standard library
or by code generated by the compiler. By convention, user-defined
exception classes also derive from exception
or from one of its derived
classes.
bad_exception class,
bad_alloc
in <new>
, bad_cast
in <typeinfo>
, bad_typeid
in <typeinfo>
, ios_base::failure
in <ios>
, logic_error
in <stdexcept>
, runtime_error
in <stdexcept>