Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/error/exception"

From cppreference.com
< cpp‎ | error
m (Text replace - "{{tdcl list end" to "{{dcl list end")
m (Text replace - "/sidebar" to "/navbar")
Line 1: Line 1:
 
{{cpp/title | exception}}
 
{{cpp/title | exception}}
{{cpp/error/exception/sidebar}}
+
{{cpp/error/exception/navbar}}
 
{{ddcl | header=exception |
 
{{ddcl | header=exception |
 
class exception;
 
class exception;

Revision as of 12:32, 15 June 2012

 
 
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

Template:cpp/error/exception/dcl list constructorTemplate:cpp/error/exception/dcl list destructorTemplate:cpp/error/exception/dcl list operator=Template:cpp/error/exception/dcl list what