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 it a bad idea to throw your own exceptions?

Answer Posted / daniel

Well, if at that point you know that an error has occurred,
then why not write the proper code to handle that error
instead of passing a new Exception object to the catch
block? Throwing your own exceptions signifies some design
flaws in the project.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What .exe means?

896


Is namespace necessary in c#?

926


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

932


What is a event in c#?

885


Define satellite Assembly?

982


Do unused Namespaces in c# affect run-time performance?

1038


How assembly versioning in .NET prevent DLL Hell problem?

955


Define an escape sequence, name few strings in escape sequence?

940


How many types of collections are there in c#?

896


What are the benefits of using windows services:

1045


How main method is called in c#?

948


Why is lazy loading?

876


What does console writeline do?

902


What is private class in c#?

938


What is fcl in c#?

874