Exception design function definition and usage summary

Source: Internet
Author: User
Front-line exception design guidelines, referring to Microsoft MSDN, combined with their own understanding and the past development of the exception of the processing, summarize the software development framework, how to better design a set of abnormal error criteria. Introduction guideline execution failure concept The meaning of execution failure:execution failure occurs whenever a member cannot do what it is Designed to does (what the member name implies). For example, if the OpenFile method cannot return a opened file handle to the caller, it would is considered an execution Failure. Translation: Operation failed meaning: Whenever a member module fails to complete its intended

1. Recommended 10 Abnormal Error Source (favorites)

Introduction: Front-line exception design guidelines, referring to Microsoft MSDN, combined with their own understanding and the past development of the exception of the processing, summarize the software development framework, how to better design a set of abnormal error criteria. Introduction guideline execution failure concept The meaning of execution failure:execution failure occurs whenever a member cannot do what it is Designed ...

2.. NET Framework-an explanation of exception design principles

Introduction: Front-line exception design guidelines, referring to Microsoft MSDN, combined with their own understanding and the past development of the exception of the processing, summarize the software development framework, how to better design a set of abnormal error criteria.

3. NET and other schema exception (Except) design Guidelines in detail

Introduction: Exception design guidelines, referring to Microsoft MSDN, combined with their own understanding and the past development of the exception of the handling of errors, summarize the software development framework, how to better design a set of abnormal error criteria.

4.. NET Exception design principles

Summary: Exceptions are used. NET, however, there are too many developers who do not consider this issue from an API design standpoint. In most jobs, they always know what exceptions to catch and which exceptions need to be written to the global log. If you design an API that allows you to use the exception correctly, you can significantly reduce the time it takes to fix the bug.

"Related question and answer recommendation":

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.