TRY/CATCH_ALL vs try/catch
Posted
by Tim
on Stack Overflow
See other posts from Stack Overflow
or by Tim
Published on 2010-04-14T21:23:47Z
Indexed on
2010/04/14
21:33 UTC
Read the original article
Hit count: 488
c++
|exception-handling
I've been using c++ for a while, and I'm familiar with normal try/catch. However, I now find myself on Windows, coding in VisualStudio for COM development. Several parts of the code use things like:
TRY {
... do stuff
} CATCH_ALL(e) {
... issue a warning
}
END_CATCH_ALL;
What's the point of these macros? What benefit do they offer over the built-in try/catch?
I've tried googling this, but "try vs TRY" is hard to search for.
© Stack Overflow or respective owner