What is the need to throw your own user defined exception using throw

Showing Answers 1 - 3 of 3 Answers

creating and throwing ur own exception helps in optimising the performance of the class u create. for example if u create an application for "Creating Marklist" u might create a exception that gets throwed when "wrong student id is entered ".

  Was this answer useful?  Yes

asanthine

  • Aug 17th, 2006
 

creating and throwing ur own exception helps in optimising the performance of the class u create. for example if u create an application for "Creating Marklist" u might create a exception that gets throwed when "wrong student id is entered ".

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions