exceptions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exceptions [2018/01/28 17:41] – wolfgangriedmann | exceptions [2018/03/25 17:47] (current) – wolfgangriedmann | ||
---|---|---|---|
Line 17: | Line 17: | ||
* or use an own method (for example a static method or an [[extension_methods|Extension methods]] of the '' | * or use an own method (for example a static method or an [[extension_methods|Extension methods]] of the '' | ||
+ | Exception handling is very important in the .NET Framework. In every place where an error can occur, you should provide exception handling. If you don't provide it, at runtime the application will crash without details about the error. | ||
+ | There are also a few application wide handlers you can install (and your should use them): | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | You can find a note about these also in the X# forum: [[https:// | ||
+ | |||
+ | There are several publicily available exception handlers like [[https:// | ||
+ | |||
+ | Nevertheless here is a small collection of simple exception handlers: | ||
+ | * [[write_exception_log|Write an exception to a log file]] | ||
+ | * [[exception_handler_vogui|Exception handler for a VO GUI application]] | ||
+ | * [[exception_handler_winforms|Exception handler for a WinForms application]] | ||
+ | * [[exception_handler_wpf|Exception handler for a WPF application]] | ||
exceptions.txt · Last modified: 2018/03/25 17:47 by wolfgangriedmann