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

Why do we need asp.net?

1017


Explain the updatepanel?

1019


How should I destroy my objects in asp.net?

1074


Explain the difference between debug.write and trace.write? When should each be used?

1007


What are Master Pages in ASP.NET?

1070


What is Web API?

1165


I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)

1995


What are themes and skins in 2.0, explain usage scenario?

940


Where sessions are stored in asp.net?

1017


Describe the difference between inline and code behind - which is best in?

1067


What are the properties of the eventargs argument when capturing keyboard events?

1078


What is the significance of attaching a profile while creating a user?

1049


Is global asax mandatory?

993


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

1058


Why is asp.net so popular?

975