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

What are ASP.NET Web Forms? How is this technology different than what is available though ASP?

1664


What kind of programming language is ASP.NET?

1147


How do we access view state value of this page in the next page?

1001


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

1092


Is viewstate enabled by default?

978


What is difference Between Authentication and authorization?

1151


What is session in asp.net?

960


What is difference between web api and web services?

1012


What are different types of api?

1013


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

1088


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

1004


What is the caspol.exe tool used for?

1016


What is asp.net web pages?

989


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

1019


Define static constructor?

1030