Musings on Exception(s)...
Plain and simply put, most industry definitions, merely pit these as unexpected events, interrupting normal execution of an assembly, application, domain, or action. There will always be exceptions and they are not always errors per se. it describes different types of events that occur (System.SystemException namespaces (customize through System.ApplicationException). Having these different exception classes, makes a multitude of responses to them possible as well, in that sense a process enabler, not a hurdle to overcome necessarily.
File not found, insufficient privileges are examples of exceptions that might be thrown out or caught. Robust debugging, error handling requests mastery of knowing what to do, when and how with exceptions, improving user experience, security and performance, lowering risks and threats exposure as well. Exceptions might occur when someone tries to view or open, even change a file, it brings up an error message and the base code, event log will enable these processes and results. Try, throw and catch blocks, are basic code skills, that have to be practiced in the .NET Frameworks environment for optimal functioning and robust programming.
Exception ‘handling’ then is the programming language construct or mechanism specifically designed (default/custom), to handle this, these instances and all other occurrences of exceptions, or simply put, special conditions that change the normal flow of execution.
They are very much a part of the normal program flow, but signal that something might have or did go wrong. They are then raised or thrown (initiated) by using special commands.
Exception resolving or handling refers back to a predefined place, switching the execution to a specific subroutine or handler.
Key Exam Points
-
Review the chapters, content and reference on Framework Fundamentals, how to throw and catch exceptions, handling authentication exceptions in streams, user and data security, Interoperating COM, Error codes and exceptions, Mail and email exceptions, detecting when they occur, how to respond to them, system and application-defined exceptions, inherited or task specific exceptions.
-
For the exam, study practical and hands-on examples in a variety of contexts, levels, scenarios and applciations, for in-depth understanding and mastery of exceptions, handling and resolution, for improved performance, results. Practice code, work-lab exercises, that help you specifically gain a better understanding of this topic and its related implications and aspects.
- Take the practice chapter and test questions (with answers and solutions), exam sample questions and work-labs
Related Terms
Cast, Constraint, Filtering Exceptions, Exception Handling
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.





