Compare and contrast exception handling with the various other error-processing schemes discussed in the text.
What will be an ideal response?
Exception handling enables the programmer to build more robust classes with builtin error-processing capabilities. Once created, such classes allow their clients to concentrate on using the classes rather than defining what should happen if an error occurs. Exception handling also allows a program that should not continue to exit in a controlled manner, returning any resources that it might have obtained, therefore preventing possible resource leaks, and it allows the program to display meaningful messages about the problem, instead of just terminating. Exception handling provides a single, uniform technique for processing errors; this helps programmers working
on large projects understand each other’s error-processing code.
You might also like to view...
The results of a calculated control are updated when any of the values in the expression change.
Answer the following statement true (T) or false (F)
If you make any changes after a digital signature is added, your signature is invalidated
Indicate whether the statement is true or false
A three-tier design includes a middle layer between the client and server that processes the client requests and translates them into data access commands that can be understood and carried out by the server.?
Answer the following statement true (T) or false (F)
What statement regarding the use of Designer.cs files is accurate?
A. The Windows Form Designer can't automatically add code to the file. B. Code in the Designer.cs file represents actions that are performed when you drag and drop controls from the Toolbox. C. Changes to this file should be done manually, to ensure accuracy. D. The Designer.cs file is not visible within the IDE.