Namespaces
Variants
Views
Actions

std::exception

From cppreference.com
< cpp‎ | error
Revision as of 12:03, 21 March 2016 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

constructs the exception object
(public member function)
[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]