Home  >  Article  >  Backend Development  >  Summary of exception design function definition and usage

Summary of exception design function definition and usage

巴扎黑
巴扎黑Original
2017-06-15 13:46:491725browse

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)

Summary of exception design function definition and usage

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

Summary of exception design function definition and usage

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

Summary of exception design function definition and usage

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

Summary of exception design function definition and usage

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn