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
What is unsigned int?
So what makes your code really object-oriented #?
How many digits is a 32 bit number?
How do I know if executenonquery is successful c#?
What is the use of protected in c#?
What is default constructor in c#?
Describe how a .net application is compiled and executed
What does type safety mean?
Can we have only “try” block without “catch” block in c#?
How many constructors can a class have in c#?
What is difference between the "throw" and "throw ex" in .net?
What is cli in c#?
What is iqueryable and ienumerable in c#?
Explain About namespaces
What is the difference between early binding and late binding in c#?