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

Why dictionary is used in c#?

938


What is property in c#?

903


What are the steps to create an assembly and add it to the gac?

863


What is console write in c#?

916


Can a method be sealed in c#?

905


What is difference between out and ref in c#?

986


what is main function of alternate teamplate of datalist?

2324


What are static and dynamic variables?

1127


what is the Difference between the public and private ?

932


What is uint64?

927


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

929


What is static void main in c#?

993


Is c# dictionary a hash table?

876


What's the difference between abstraction and encapsulation?

879


What is bit in c#?

960