Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

THROW (MFC)

 

Throws the specified exception.


THROW(
exception_object_pointer )

exception_object_pointer

Points to an exception object derived from CException.

THROW interrupts program execution, passing control to the associated CATCH block in your program. If you have not provided the CATCH block, then control is passed to a Microsoft Foundation Class Library module that prints an error message and exits.

For more information, see the article Exceptions.

Requirements

Header: afx.h

Show: