Explain exception handling [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

Explain exception handling
Rate this tutorial:                    
- Explain exception handling [2/2] -

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: explain exception handling  Explain Exception Handling in C++  explain the exception handling in c++  explain the exception handling with example  explain exception handling  Explain when exception handling should be used.  explain exception handling mechanisms   Explain the exception handling features of C++ with a simple program.  Explain the exception handling features of C++ with a simple program.  Explain the exception handling feature of c++ with a simple program