다음을 통해 공유


THROW_LAST

Throws the exception back to the next outer CATCH block.

THROW_LAST( )

설명

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.

예제

See the example for CFile::Abort.

요구 사항

Header: afx.h

참고 항목

참조

THROW(MFC)

TRY

CATCH

AND_CATCH

END_CATCH

CATCH_ALL

AND_CATCH_ALL

END_CATCH_ALL

개념

MFC 매크로 및 전역