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

how to debug web services on consumer side?

1112


Explain about asp.net caching?

1092


Why asp.net mvc is better than asp.net? : Asp.Net MVC

1230


What is an assembly? Explain its parts.

1136


What is cookies cache and session?

1012


What is the use of web.config file?

1056


Explain the use of resource manager class in .net.

1024


What is the difference between table and query?

1019


What are the new navigation controls in asp.net 2.0?

1047


How can we create custom controls in asp net?

1075


Tell me the code snippet to show how we can return 404 errors from HttpError?

1327


Differentiate between a hyperlink control and a linkbutton control.

1030


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

1217


Explain the Session state management options available with ASP.NET?

1083


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

2090