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 / swapna

if at that point you know that an error has occurred, then
why not write the proper code to handle that error instead
of passing a new Exception object to the catch block?

Throwing your own exceptions signifies some design flaws in
the project.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of nullable types in c#?

996


What are the uses of delegates in c#?

1045


What is the difference between an implicit conversion and an explicit conversion?

984


What is uint64_t?

983


Is arraylist faster than linkedlist?

939


Can we override static class in c#?

901


Explain streamreader/streamwriter class?

990


Can you inherit multiple abstract classes in c#?

936


What is writeline in c#?

873


What is ildasm.exe used for?

1016


What does firstordefault mean in c#?

948


What are anonymous types in c#?

908


Explain the use of Mutex in C#?

1019


how can one use hcl and c sharp together?

2097


How can I use .NET components from COM programs?

913