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 / supratim sengupta

Actually throwing your own exceptions is an excellent way
to handle various exceptions the way you want it to handle.
You can centralize the whole exception handling. It could
be useful in product development where you might miss out
some exception conditions and then you can always write a
common custom exception handler that can shoot you an email
with all the details of the exception.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between comparable and comparator?

896


How can we set class to be inherited, but prevent the method from being over-ridden?

988


What is whitespace in c#?

1093


can you create a function in c# which can accept varying number of arguments

1080


Explain About Postback

937


What happens during the process of boxing?

1061


What is private constructor c#?

924


What is the use of console readkey ()?

1013


What types of object can I throw as exceptions?

934


What is the example of predicate?

921


How do I convert a string to an int in c#?

983


What is Wrapper class in dot net?

1071


what is the difference between convert.tostring() and tostring() functions ?

1058


Can you put two constructor with the same structure in a class?

915


What is delegates in c#?

899