• +91 9723535972
  • info@interviewmaterial.com

VB.Net Interview Questions and Answers

Question - Why is it a bad idea to throw your own exceptions?

Answer -   Well, 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.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners