C# Class OpenBve.CrashHandler

Provides functions for handling crashes, and producing an appropriate error log
ファイルを表示 Open project: leezer3/OpenBVE Class Usage Examples

Private Methods

Method Description
CurrentDomain_UnhandledException ( Object sender, UnhandledExceptionEventArgs e ) : void

Catches all unhandled exceptions within the current appdomain

LoadingCrash ( string ExceptionText, bool Train ) : void

This function logs an exception caught whilst loading a route/ train to disk

LogCrash ( string ExceptionText ) : void

This function logs an unhandled crash to disk

UIThreadException ( object sender, ThreadExceptionEventArgs t ) : void

Catches all unhandled exceptions within the current UI thread