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 cashing in asp.net.

938


What is a gridview in asp.net?

966


What are assemblies and namespaces and explain the difference between them ?

1028


What is a web based system?

922


What is datagrid asp.net?

995


Why should i prefer JSP over asp.net or any other web development language..??

1937


What are the Types of chaching. How to implement caching

956


What is custom events? How to create it?

1010


What is difference between session and cookies in asp net?

995


What permissions do asp.net applications posses by default?

1029


How does a web application session work?

1024


Do you support digital rights management to protect my videos?

813


What is the Intermittent crashing of application in production?

1008


What are the cookies types in asp.net?

971


What are session state modes?

926