Loading subject…
Exception
An error condition raised while a program is running, in code that started up without fault. It interrupts the normal flow of execution at the statement that raised it, and the program either handles it or stops there.
Exception handler
The block of code that runs in place of the normal flow when a matching exception is raised. It is written as a catch clause in Java and an except clause in Python, and each one names the exception type it responds to.
Stack trace
The report a runtime prints when an exception is left unhandled, naming the exception type, the statement that raised it, and the sequence of method calls that led to that statement.