Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
THROW_LAST Macro
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  THROW_LAST();
 
  Remarks
 
  Rethrows the exception back to the next outer CATCH block. If your code
  does not contain an outer block, then the Microsoft Foundation class
  library prints an appropriate error message and terminates the program,
  just as it would if you provided no exception-processing logic.
 
  This allows you to throw a locally created exception. If you try to
  throw an exception that you have just caught, it will normally go out of
  scope and be deleted. With THROW_LAST, the exception is passed correctly
  to the next CATCH handler.
 
  See Also
 
  TRY, CATCH, THROW, AND_CATCH, END_CATCH
 
 
                                     -♦-