![]() |
Fatal Error
Support for the Fatal Error Abstraction
|
![]() |
![]() |
SergCODE source code package (Freeware) XHelpers library (Freeware) |
Fatal error is an important programming abstraction. In the XHelpers library, it is supported by the XFatalError class (the XHelpers.Core.dll module). The functionality offered allows (if necessary) interrupt an application in an elegant way by leaving debugging information about the cause of crash in a black box (in this case, the Temp folder and the event log). A fatal error may be initiated explicitly (by the XFatalError.Raise method) as well as implicitly (by the handler of unhandled events, the XFatalError.RaiseOnUnhandledException property) or when a critical (for interruptions) section (executed by the XCriticalOperation.Execute method) crashes.
Top |
© Sergei Kitaev (Китаев С.Ю.) |