Exceptions and the normal path
Exceptions and the normal path
Programs normally follow a control flow from one statement to the next. An exception is a run-time event that disrupts that flow, such as invalid input, division by zero, or a failed file read.
Step-by-step lessons on AQA A Level Computer Science Exception handling, subroutines and recursion. Each one builds up to exam-style questions.