Namespaces
Variants
Views
Actions

std::exception

From cppreference.com
< cpp‎ | error
Revision as of 08:23, 3 February 2014 by Cubbi (Talk | contribs)

 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
 
 
Defined in header <exception>
class exception;

Provides consistent interface to handle errors through the throw expression.

All exceptions generated by the standard library inherit from std::exception

Member functions

(constructor)
constructs the exception object
(public member function) [edit]
[virtual]
destroys the exception object
(virtual public member function) [edit]
copies exception object
(public member function) [edit]
[virtual]
returns an explanatory string
(virtual public member function) [edit]