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
What is reflection in c#?
Is c# easier than c++?
what is a static constructor?
What is the difference between Static, Const and read only?
How a two-dimensional array declared in C#?
What is yield in c#?
What is global asax in c#?
What is an xsd file?
What is the meaning of int parse in c#?
Define collections?
Which string method is used for concatenation of two strings in c#?
How can I use .NET components from COM programs?
What is instantiating a class in c#?
what is the meaning of Object lifetime in OOPS
Explain how do I convert a string to an int in c#?