Home >Backend Development >C#.Net Tutorial >Summary of exception design function definition and usage
Frontline For the exception design guidelines, refer to Microsoft msdn, combine your own understanding and the handling of exception errors in past development, summarize the software development architecture, and how to better design a set of exception error guidelines. Introducing the guideline execution failure concept The meaning of execution failure: execution failure occurs whenever a member cannot do what it was designed to do (what the member name implies). For example, if the OpenFile method cannot return an opened file handle to the caller, it would be considered an execution failure. Translation: Operation failure means: whenever a member module cannot complete its expected
1. Recommended 10 exception error source codes (collection)
Introduction: Cutting edge exception design guidelines, refer to Microsoft msdn, combine your own understanding and past development experience Exception error handling, summarize the software development architecture, and how to better design a set of exception error guidelines. Introducing the concept of execution failure The meaning of execution failure: execution failure occurs whenever a member cannot do what it was designed...
2. .NET Framework-Exception Design Principles Detailed explanation
Introduction: Cutting-edge exception design guidelines, refer to Microsoft msdn, combined with your own understanding and past development In dealing with exception errors, we summarize the software development architecture and how to better design a set of exception error guidelines.
3. A detailed introduction to exception (Except) design guidelines in .net and other architectures
Introduction: Exception design guidelines, refer to Microsoft msdn, combine your own understanding and the handling of exception errors in past development, summarize the software development architecture, and how to better design a Exception error criteria.
4. .NET Exception Design Principles
Introduction: Exceptions are inevitable problems when using .NET, but too many developers do not consider this issue from the perspective of API design. In most jobs, they know from start to finish what exceptions need to be caught and which exceptions need to be written to the global log. If you design an API that allows you to use exceptions correctly, you can significantly reduce the time it takes to fix defects.
【Related Q&A recommendations】:
The above is the detailed content of Summary of exception design function definition and usage. For more information, please follow other related articles on the PHP Chinese website!