Custom Exceptions - English

8368 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