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
How do I create a new form in c#?
What is difference between constants and readonly in c#?
What is difference between a type and class?
What is verbatim literal in c#?
What is the difference between class and namespace?
Is comparable a functional interface?
How long will it take to learn c sharp?
What is difference between float and integer?
Can a static class contain non static members?
What is Satellite Assemblies ?
Explain the difference between directcast and ctype.
What is the extension of c# file?
What can I create with c#?
What are scriptable objects?
What are the examples of data types?