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

Does c# do array bounds checking?

979


Can we inherit static class in c#?

985


Is null empty or whitespace c#?

953


What is trim in c#?

1006


What is difference between comparable and comparator?

884


Why do we parse in c#?

877


Name some properties of array.

968


Classes and structs can be declared as static, is this statement true or false?

1040


Give an example of a directcast.

934


What is window application in c#?

941


What is appdomain in c#?

881


Can we create multiple constructors?

893


Can I fly with a loop recorder?

902


What happens if the inherited interfaces have conflicting method names?

982


What is the difference between icomparer and icomparable in c#?

932