top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How many types of exception handlers are there in .NET?

0 votes
325 views
How many types of exception handlers are there in .NET?
posted Dec 16, 2015 by Jayshree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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.

  1. Unstructured Exception Handling
  2. Structured Exception Handling
answer Dec 16, 2015 by Shivaranjini
...