which types of exceptions are not caught by caught( ... )
best regards
y2jsave
exceptions c++ doubt !!
All C++ exceptions are caught by catch (...). If your environment contains non-C++ exceptions, such as MSVC with SEH exceptions, then catch (...) may or may not catch those exceptions.
Quote:Original post by no such userYou can catch SEH exceptions by wrapping the function call inside another function that uses __try and __except.
All C++ exceptions are caught by catch (...). If your environment contains non-C++ exceptions, such as MSVC with SEH exceptions, then catch (...) may or may not catch those exceptions.
There are other ways also, but the best option is to never cause them to be thrown in the first place, as they're most often Access Violations etc that tend to indicate a bug.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement