The What and HOW of Filtering Exceptions...
Expanding the efficiencies of catching, throwing and trying, dealing well with unexpected events, errors and exceptions, filtering exceptions, beyond the basics, base class, can help immensely when it comes to performance and robust results, even resolution.
According to industry definition, this process of ordering catch clauses, are done, in order to deal well with specific exceptions types. By using a filtering exception in this fashion, they are caught before general exception types. You can thus respond differently to multiple and classes, types and issues. First-catch block processing in runtime, with a matching exception type are caught. More is thus needed to deal with others, different of multiple errors, events or exceptions. From most specific to least specific is the string and sequence that this enables.
Filtering exception handlers, built-in and customized are utilities that attach and function to and through the runtime engine. Every time there is a so-called unexpected event or exception of interest occurring, it gets recorded.
This is then used again as event logs and debugging information, actually captured when the exception was thrown (see also call stack, heap). They are also known as Automated Exception Handling or Error Interception tools. It captures those 'root-cause' information gems for exceptions and troubleshooting for programmers, administrators and developers that they would otherwise not have.
Key Exam Points
-
Review the chapters, content and references pertaining to exceptions, .NET Framework Fundamentals
- For the exam, study examples of code, solutions, practical applications, contexts and scenarios, benefits, use, risks, for Filtering Exceptions effectively, implicit, explicit, inherited, by default, and/or customized solutions, that help you to gain a better understanding of this topic and its related aspects for application environments and challenges.
- Take the practice test questions (with answers and solutions), exam sample questions and work-labs
Related Terms
Exception(s), Heap, Stack.
This article is based on the 2nd edition of the Microsoft .Net Framework Application Training Kit with the purpose to help 70-536 Exam takers to succeed. I constantly look for ways to improve the content. Please leave a comment about this article or drop me a message if you would like to see changes for this site.





