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

Is arraylist faster than linkedlist?

942


What are the classes contained in a single .NET DLL ?

934


What is difference between private, protected, and public in C#?

1059


What are the different types of constructors in c#?

1137


How do you prevent a class from being inherited in c#?

849


What is the difference between protected and private?

928


Explain how to use an extender provider in the project.

977


What are the different types of assemblies available and their purpose?

912


How many classes are there in classification?

1022


Describe how a .net application is compiled and executed

929


What is system console writeline in c#?

1040


What is dependency in software?

949


Is array a collection c#?

922


Define multicast c# delegate?

967


Does c# support a variable number of arguments?

1024