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
Explain the difference between object type and dynamic type variables in c#?
What is difference between constants and read-only?
Can you pass value types by reference to a method?
write a C# Program add two matrix ?
How can I access the registry from c# code?
What is object type in c#?
I want to print "Hello" even before main() is executed. How will you achieve that?
My switch statement works differently! Why?
How many kinds of elements an array can have?
What is literal in c#?
What is COM Interoperability?
What is string concatenation?
Is functional interface runnable?
What exactly is serverless?
what is scope of a protected internal member variable of a c# class