Suppose the following example. There are classes A-C derived from std::exception:
#include #include #include c
Only the first catch block that matches is going to execute. You can re-throw the existing exception with the "throw;" statement but I am not sure if that will continue the search at the next catch block or only in a outer try-catch.