Difference between revisions of "cpp/error/exception"
From cppreference.com
m (s/most/all) |
m (Text replace - "{{tdcl list end" to "{{dcl list end") |
||
Line 35: | Line 35: | ||
{{dcl list template | cpp/error/exception/dcl list operator{{=}}}} | {{dcl list template | cpp/error/exception/dcl list operator{{=}}}} | ||
{{dcl list template | cpp/error/exception/dcl list what}} | {{dcl list template | cpp/error/exception/dcl list what}} | ||
− | {{ | + | {{dcl list end}} |
[[fr:cpp/error/exception]] | [[fr:cpp/error/exception]] |
Revision as of 01:28, 12 June 2012
Template:cpp/error/exception/sidebar
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
- bad_typeid
- bad_cast
- bad_weak_ptr(C++11)
- bad_function_call(C++11)
- bad_alloc
- bad_array_new_length(C++11)
- bad_exception
- system_error(C++11)
- future_error(C++11)