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?



Why is it a bad idea to throw your own exceptions?..

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

More C Sharp Interview Questions

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

0 Answers   HCL,


Is null empty or whitespace c#?

0 Answers  


What is default method in c#?

0 Answers  


What is response redirect in c#?

0 Answers  


Does c# provide copy constructor?

0 Answers  


What is icomparable in c#?

0 Answers  


What are the advantages of using assemble language programming?

0 Answers   Ittiam Systems,


What .exe means?

0 Answers  


What r collections c sharp?

3 Answers  


What is sealed class in c#?

0 Answers  


Define mutex in C#?

0 Answers  


How did you implemented classes in your project?

1 Answers   TCS,


Categories