Why is it a bad idea to throw your own exceptions?
Answer Posted / guest
Not necessarily. If you're writing a library of code to be
used by other clients you don't always know the right thing
to do if an exceptional problem comes up. So it isn't always
a bad idea to throw your own exceptions.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Can list contain duplicates c#?
How do I simulate optional parameters to com calls?
If a child class instance is created, which class constructor is called first - base class or child class?
Which of the following API is used to hide a window?
What is the difference between static and constant variables?
What is autopostback in c#?
What is eager and lazy loading in c#?
What is querystring in c#?
What is super class in c#?
What is collection class c#?
In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?
What are the advantages of constructor?
Can delegates be used as callbacks?
What is a framework in c#?
How to declare a property in a class?