Page 72 - Programming VB.NET
P. 72

68                            Chapter 7: Exceptions Handling


               7.1 Exception Handling




                                To avoid abnormal program
                                termination.



                                To avoid system crashes.




                                To take a necessary action.







               7.2 Try, Catch, Finally



                      try                   catch                 finally
                     block                  block                 block




                    Statements           What to do            Statements
                     that might               if               that have to
                     cause an             exception            be execute
                     exception            happened             whether the
   67   68   69   70   71   72   73   74   75   76   77