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 an ienumerable in c#?

944


What does static mean in c sharp?

1012


What is the difference between a class and an object c#?

934


What is the class in c#?

842


What is verbatim string literal in c#?

919


If you define a user defined data type by using the class keyword, is it a value type or reference type?

849


What is the difference between integer and double?

878


Can a string be null c#?

856


Explain about Oops concept

921


How to properly clean up excel interop objects?

899


What is default constructor in c#?

880


What is the difference between null and string empty in c#?

870


Can we assign null value to integer?

840


What is managed code?

1003


What is different between Implicit conversion and Explicit conversion in C#?

1002