Exceptions handling
Custom exception classes
Exception-Handling Techniques
How to create your own exception class
- Terminate program
- Output appropriate error message upon termination
- Fix error and continue
- Repeatedly get user input
- Output appropriate error message until valid value is entered
- Log error and continue
- Write error messages to file and continue with program execution