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...

If all code is written in a try block and write a catch
block with Exception type Exception .In that scenario will
all the exceptions catched by that catch block? or any
exceptions which will not be caught?

Answer Posted / parmjit

Yes all the exceptions will be catched by this catch block.
Because all the thrown exception as derived from this class
or it's sub class.

Because even if any exception occured which is not derived
from the Exception class, it is automatically wrapped in
RuntimeWrappedException which is a derived class of
Exception class.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which program construct must return a value?

1075


What is iqueryable?

933


What is deferred execution?

891


What is inner class in c#?

972


What is static noise?

910


What does using system mean in c#?

1011


What is the difference between namespace and class in c#?

948


Explain the features of an abstract class in net.

966


Is there a way of specifying which block or loop to break out of when working with nested loops?

1010


What are examples of desktop applications?

967


What does convert toint32 mean?

955


Is string mutable in c#?

866


Is linkedhashset synchronized?

1122


Explain the mechanism of VB.NET/C# achieve polymorphism?

1000


How do namespaces work?

961