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 / vinay tiwari

if we use some piece of code that return in different
language then there may be exception that are not define in
exception class to catch these type of exception we use
general catch handler
for exe
try
{
........
}
catch
{
..........
} //catch block without parameter is called general catch
handler

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between object pooling and connection pooling in c#?

996


What is a string in c#?

896


What is the use of static in c#?

937


What is multithreading with .net?

1004


Differentiate between sqlclient oledb and providers?

966


Can class inherit from struct c#?

980


Can firstordefault return null?

947


What is the use of flag in c#?

943


What is the purpose of private constructor in c#?

1000


What is object type in c#?

968


Can a abstract class have a constructor?

885


How does return work in c#?

975


While debugging a C# application can you change the value of a variable?

1045


What is “using” statement in c#?

1057


What is Event - Delegate?

1082