Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C++ Tutorial
Exceptions 31 codes
Home
C++ Tutorial
Exceptions
1 A simple exception handling example
2 A try block can be localized to a function
3 Catch all exceptions
4 Catch const char str (string) exception
5 Catch double exception
6 Catching class type exceptions
7 Catching Class Types
8 Catching derived classes
9 Custom exception class
10 Declaring exception specifications in class hierarchy
11 Demonstrating stack unwinding
12 Demonstrating standard new throwing bad_alloc when memory cannot be allocated
13 Different types of exceptions can be caught
14 Handling Derived-Class Exceptions
15 How to restrict the types of exceptions that can be thrown from a function
16 Localize a trycatch to a function
17 Multiple catch blocks
18 Restricting function throw types
19 Rethrowing an exception
20 Standard exceptions
21 This function can throw NO exceptions!
22 Throw a custom exception object
23 Throw an exception
24 Throw an exception from a function and catch it
25 Throw your own exception class based on runtime_error
26 Throwing an exception from a function called from within a try block
27 Throwing an exception from a function outside the try block
28 Try catch block without exception being thrown
29 Use catch( ) as a default
30 Use custom exception in your own Array class
31 Use multiple catch statements