home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH16 / A16112.TXT < prev    next >
Encoding:
Text File  |  1993-10-26  |  364 b   |  7 lines

  1. If you want to handle an exception thrown from a code segment, you
  2. enclose the code segment in braces preceded by the keyword "try".
  3. The keyword "catch" is used to declare the exception handlers.
  4. The catch declaration and the code enclosed in the following
  5. braces form an exception handler.  The code inside the braces is
  6. used to recover from the exception.
  7.