For final year UG/PG girls in Chemistry & related fields: Get industry-ready with a certified training program in the chemical sector with We-Chemie.
Click here for more details. Apply here!

Custom Exceptions - Manipuri

406 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