- An exception is an error that occurs at run time.
- Run time errors are errors that cause a program to terminate abnormally.
- Run time errors occur while a program is running if the environment detects an operation that is impossible to carry out.
- Most of the well known computer programming language like Java, C++ have exception handling mechanism by which a programmer can handle run-time errors of the program.
- Some common exceptions are divide-by-zero or file-not-found etc.
Programming Languages
Error Types, Systematic Debugging, Exceptions