Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/error/exception"

From cppreference.com
< cpp‎ | error
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}}
{{tdcl list end}}
+
{{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

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