Determining exception type after the exception is caught?

Posted by Brian R. Bondy on Stack Overflow See other posts from Stack Overflow or by Brian R. Bondy
Published on 2009-02-18T17:10:32Z Indexed on 2010/06/09 9:02 UTC
Read the original article Hit count: 619

Filed under:
|
|

Is there a way to determine the exception type even know you caught the exception with a catch all?

Example:

try
{
   SomeBigFunction();
}
catch(...)
{
   //Determine exception type here
}

© Stack Overflow or respective owner

Related posts about c++

Related posts about exception