Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/error/exception"

From cppreference.com
< cpp‎ | error
Line 11: Line 11:
 
*{{ltt|cpp/error/exception/logic_error}}
 
*{{ltt|cpp/error/exception/logic_error}}
 
:*{{ltt|cpp/error/exception/invalid_argument}}
 
:*{{ltt|cpp/error/exception/invalid_argument}}
:*{{ltt|cpp/error/exception/logic_error}}
+
:*{{ltt|cpp/error/exception/domain_error}}
 
:*{{ltt|cpp/error/exception/length_error}}
 
:*{{ltt|cpp/error/exception/length_error}}
 
:*{{ltt|cpp/error/exception/out_of_range}}
 
:*{{ltt|cpp/error/exception/out_of_range}}

Revision as of 09:47, 19 June 2011

Template:cpp/error/exception/exception/sidebar

Defined in header <exception>
class exception;

Provides consistent interface to handle errors through the throw expression.

Most of the exception classes inherit from Template:cpp

Template:cpp/error/exception/exception/dcl list constructorTemplate:cpp/error/exception/exception/dcl list destructorTemplate:cpp/error/exception/exception/dcl list whatTemplate:tdcl list end

Member functions