std::exception

From cppreference.com
< cpp‎ | error
 
 
 
Error handling
Exception handling
exception
(C++11)
Exception handling failures
(C++11)
(deprecated)
(deprecated)
(C++11)(deprecated)
(deprecated)
Exception categories
Error codes
Error codes
Assertions
system_error facility
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
 
 
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

[edit] Member functions

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