If something doesn't throw exceptions then don't expect to catch one.
If something doesn't throw exceptions then don't expect to catch one.
If you don't know what is going to be thrown how can you possibly catch it? The only real solution is the catch all "catch (...)", but of course you'll get no more information in this case and OS errors (such as memory access violations) are normally not caught unless you use OS specific exception catching.
Bookmarks