Custom Exception

Provide one Programming level example of Custom Exception?
Where and Why we Use Custom exception?

Showing Answers 1 - 3 of 3 Answers

binita

  • Dec 15th, 2015
 

WE use it to handle exception. For checked exception we write a class by extending exception. Depending on requirement we write constructor, define instance variable. All IO exception, SQL and class not found are checked exception.

  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