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

Can we override interface methods in c#?

904


What is difference between static and constant variable?

1026


What does return do in for loop?

974


What is the use of base keyword? Tell me a practical example for base keyword’s usage?

976


Explain how do you debug an asp.net web application?

962


What is the difference between “out” and “ref” parameters in c#?

1042


Which controls do not have events?

1070


How can I develop an application that automatically updates itself from the web?

953


What is using directive in c#?

1114


What is razor view in c#?

869


What is the purpose of dictionary in c#?

958


Why do we use lambda expression in c#?

992


How you will create satellite assemblies?

1028


2. What happened when BO object has been called?

2027


What is hashtable in c# with example?

1022