THROW_LAST

Switch View :
ScriptFree
Visual Studio 2010 - Visual C++
THROW_LAST

Throws the exception back to the next outer CATCH block.

THROW_LAST( )
Remarks

This macro 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.

For more information, see the article Exceptions.

Example

See the example for CFile::Abort.

Requirements

Header: afx.h

See Also

Reference

TRY

Concepts