Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Any exceptions are there which are not caught by any catch
blocks?
what are they?

Answer Posted / piyush sharma

1) If you are writting managed Code and using proper try
catch block then there
is no such exception which cannot be caught. Yes, But
sometimes it happens
that you have written correct try catch block but exception
is still
unhandled. This type of exception is called First Chance
Exception. As you
can come across it while developing web services or working
with threads.

Now What is a first chance exception?
When an application is being debugged, the debugger gets
notified whenever
an exception is encountered At this point, the application
is suspended and
the debugger decides how to handle the exception. The first
pass through this
mechanism is called a "first chance" exception. Depending
on the debugger's
configuration, it will either resume the application and
pass the exception
on or it will leave the application suspended and enter
debug mode. If the
application handles the exception, it continues to run
normally.

2)The only one I can think of
offhand is StackOverflowException, since a catch block, or
any of the
global exception handlers you can write require stack space
in order to
execute. If you're out of stack you can't call anything...
including an
exception handler.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the property of the textbox which cannot be changed at runtime?

949


How do I create a delegate/multicastdelegate?

982


What is ispostback c#?

858


What is generic in c#?

844


What does return do in for loop?

903


Is c# and c same?

874


What is as keyword in c#?

967


What is the difference between ienumerable and enumerable?

893


Why use “using” in c#?

943


What is the difference between a function and a method?

954


What is expandoobject in c#?

882


Can you instantiate a struct without using a new operator in c#?

929


What is readline library?

946


Explain about accessibility modifier 'protected internal'?

987


Can a class have static constructor?

971