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":