Standard C++ Library Class Reference

Constructors
exception () throw();
Constructs an object of class exception.
exception (const exception&) throw();
The copy constructor. Copies an exception object.
Destructor
virtual
~exception() throw();
Destroys an object of class exception.
Operators
exception&
operator= (const exception&) throw();
The assignment operator. Copies an exception object.
Member Function
virtual const char*
what()const throw();
Returns an implementation-defined, null-terminated byte string representing a
human-readable message describing the exception. The message may be a null-terminated
multibyte string, suitable for conversion and display as a wstring.
Constructors for Derived Classes
logic_error::logic_error (const string& what_arg);
Constructs an object of class logic_error.
domain_error::domain_error (const string& what_arg);
Constructs an object of class domain_error.
invalid_argument::invalid_argument (const string& what_arg);
Constructs an object of class invalid_argument.
length_error::length_error (const string& what_arg);
Constructs an object of class length_error.
out_of_range::out_of_range (const string& what_arg);