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 is deadlock in c#?

872


How can you prevent escaping on backslashes in C# with string definitions?

1175


How do you declare a variable in c#?

918


What is sqlcommandbuilder c#?

867


Why do we need nullable types in c#?

1111


What are nested classes in c#?

905


How many types of delegates are there in c#?

894


What is a console device?

838


What are Types of assemblies that can be created in dotnet

979


what is the difference between the debug class and trace class?

957


How many types of constructors are there?

833


What do you use c# for?

874


What are winforms in c#?

859


What does return do in for loop?

870


What is data dictionary in c#?

860