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

Why is catch(Exception) almost always a bad idea?

Answer Posted / nagaraj

Catch(Exception) means that you catch all the exception
which might not occur. But, really we need to catch only
some type of exception, so we need to catch only those type
instead of catching all the exceptions.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between asp & asp.net.

1037


Why is an object pool required?

1045


What is the difference between the response.write() and response.output.write() methods?

1016


What is ASLM?

1125


What are the server control tags in asp.net.?

1072


What is the significance of ASP.NET routing?

1086


What is redirecting behavior?

971


What do you mean by marshalbyref?

1106


What is a postback in asp net?

1110


What is fulltrust?

1049


Is it possible to change the index of primary key on table?

900


How can we identify that the page is post back in asp net?

949


What are the features that make asp.net more used framework? : asp.net mvc

1026


Is redux flux?

966


What is the difference between system.stringbuilder and system.string

794