Before we head towards object inheritance, I thought it might be useful to show how we deal with anticipated (and unanticipated) program errors. We do this using the 'Exception' structure, particularly by using the try-catch construct, along with associated error codes and the throw function.