Why does this:
try
{
throw 1;
}
catch(...)
{
handle_exceptio n();
}
works as expected (exception is caught in the catch block)
and this:
try
{
throw;
}
catch(...)
{
handle_exceptio n();
}
crashes application? Isn't catch(...) supposed to catch _everything_?
FWIW - I use VC++ 2008
try
{
throw 1;
}
catch(...)
{
handle_exceptio n();
}
works as expected (exception is caught in the catch block)
and this:
try
{
throw;
}
catch(...)
{
handle_exceptio n();
}
crashes application? Isn't catch(...) supposed to catch _everything_?
FWIW - I use VC++ 2008
Comment