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 / anna

it's not the bad idea of using catch exception.
catch exception catches all the exceptions in try block.
if we use these blocks, we will be able to know where the
exact error is.
if we use one try block, we must use the catch block .

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is cookie used in asp.net?

1146


How can you implement encapsulation in asp.net?

13238


Can you explain one critical mapping? Performance issue which one is better?

948


Explain asp.net mvc request life cycle? : asp.net mvc

1162


How can we register exception filter globally?

1025


Who generates session id?

1019


What is the file extension of web service?

1054


What is routing in MVC?

1075


Where is session cookies stored?

1012


What is .net framework and what are the main components of it?

882


What’s the catch?

1161


How can you debug your.net application?

1054


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

2046


What symbol would you use to denote, the start of a code block in aspx views?

1009


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

1029