We recommend using Visual Studio 2017



The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at __uncaught_exception.

Indicates whether one or more exceptions have been thrown, but have not yet been handled by the corresponding catch block of a try-catch statement.

bool __uncaught_exception(  

true from the time an exception is thrown in a try block until the matching catch block is initialized; otherwise, false.

RoutineRequired header

try, throw, and catch Statements (C++)