Networking, Programming and Graphics Tutorials

Exception Handling - C++ [2/2]

The relationship between the three words try, catch and throw is shown in the figure. The try block code normally invokes a function that detects an exception. The function which is in the throw block returns the control to the catch block. There can be many catch blocks, each corresponding to a particular type of exception. The function throwing an exception indicates the specific type of exception which in turn decides the catch statements to be executed.

Means to Learn

Exception Handling - C++
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Exception Handling - C++ [2/2] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: exception handling in C++ : throw(exception)  exception handling in C++  exception handling c++  Exception handling C++  exception handling c++ .net  "exception handling in c++"  exception handling inc++  exception handling, c++  exception handling "C++"  exception handling+c++   exception handling in c++  Exception Handling + C++  about exception handling in c++  "exception handling"+c++  exception handling C++  about exception handling  exception handling with C++  example of exception handling in C++  exception handling in c++ with example  Example for Exception Handling in C++