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 the difference between null and string empty in c#?

843


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

947


How many types of delegates are there in c#?

895


What is difference between singleton and static class in c#?

878


Why use a singleton instead of static methods?

840


What are the fundamental oop concepts?

889


Which of the following API is used to hide a window?

972


What are the basics of c#?

973


What is the difference between interface and functional interface?

950


What is the difference between const and readonly in c#.net?

891


Why do I get an error (cs1006) when trying to declare a method without specifying a return type?

895


What is verbatim string?

869


what is IDisposal interface,IComparable,IEquatable,IFormatable

959


Does hashset allow duplicates c#?

915


What is the difference between “finalize” and “finally” methods in c#?

878