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

What is the difference between ref and out parameters in c#?

943


Can I use exceptions in c#?

952


What is the default value of boolean variable?

920


Is string nullable in c#?

916


How can an inner class access the members of outer class?

938


What is the use of nullable types in c#?

939


What are strong name assemblies?

931


What is expression tree in c#?

869


What is task parallel library?

971


What is the solution if you need to manipulate sets of items?

822


Explain briefly the difference between value type and reference type?

968


Explain about c# language.

1011


What are the 2 broad classifications of data types available in c#?

832


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

933


How to put assembly in gac?

867