Question

Is there an API for translating ExceptionCode:s in an ExceptionRecord to a readable message like FormatMessage for regular errors.

Était-ce utile?

La solution

There is no built-in function for this.

Many people are doing it manually:

fostlib::exceptions::structured::structured in: http://svn.felspar.com/public/fost-base/tags/4.12.12.44490/fost-base/Cpp/fost-core/exception-win.cpp

MyUnHandledExceptionFilter in: http://openholdembot.googlecode.com/svn/trunk/ManualMode/debug.cpp

GetExceptionString in: http://subversion.assembla.com/svn/ub-source113/Standard%20Gaming%20Platform/ExceptionHandling.cpp

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top