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

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 ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is singleordefault c#?

888


What Is The Difference Between The System.array.copyto() And System.array.clone()?

997


Define delegate in c#?

904


What is the use of ienumerable?

846


Does c# have primitives?

868


Why do we need oops in c#?

921


Can constructor be protected?

884


What does clr stand for?

900


What is inheritance c#?

882


what is IDisposal interface,IComparable,IEquatable,IFormatable

1001


What is monitor in C#?

999


What is the ouput of the following program?

955


List the difference between the virtual method and the abstract method?

877


How big is a 64 bit integer?

879


Is c# a technology?

894