Export (0) Print
Expand All
TRY
Expand Minimize
0 out of 5 rated this helpful - Rate this topic

THROW

Throws the specified exception.

THROW(exception_object_pointer )

Parameters

exception_object_pointer
Points to an exception object derived from CException.

Remarks

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.

See Also

MFC Macros and Globals | THROW_LAST | TRY | CATCH | AND_CATCH | END_CATCH | CATCH_ALL | AND_CATCH_ALL | END_CATCH_ALL | AfxThrowArchiveException | AfxThrowFileException | AfxThrowMemoryException | AfxThrowNotSupportedException | AfxThrowResourceException | AfxThrowUserException

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.