How many types of exception handlers are there in .NET?
Answer Posted / mayur rathod
The exception information table represents four types of
exception handlers for protected blocks:
A finally handler that executes whenever the block exits,
whether that occurs by normal control flow or by an
unhandled exception.
A fault handler that must execute if an exception occurs,
but does not execute on completion of normal control flow.
A type-filtered handler that handles any exception of a
specified class or any of its derived classes.
A user-filtered handler that runs user-specified code to
determine whether the exception should be handled by the
associated handler or should be passed to the next protected
block.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the lapsed listener problem?
what user controls are and what server controls are and the differences between the two.
Different between .net & j2ee ?
Explain Creational design pattern in .NET?
Explain attributes in dot net?
Will it go to finally block if there is no exception happened?
Explain what is immutability, what is it for and how is it codified?
What is the difference between a class and an object, and how do these terms relate to each other?
which method do you use to redirect the user to another page without performing a round trip to the client? How?
What is immutability?
What is a garbage collector?
What is concurrency? How will you avoid concurrency when dealing with dataset?
Difference between abstract class and interface in .net?
What is assemblies in .net?
Describe difference between inline and code-behind?