Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Custom Exceptions - Manipuri

773 visits



Outline:

- What is a Custom Exception - Demonstration of custom exception - Custom exception example - "InvalidMarkException" - Usage of "throw" keyword - How to resolve errors in custom exceptions - Resolve error using "Add throws declaration" option - Usage of "throws" keyword - Example for "FileNotFoundException" - How to handle multiple exceptions - How to use "surround with try/catch" option