The code you've seen in this book was created for illustration purposes. It has not dealt with errors, so that you will not be distracted from the central issues being presented. Real-world programs, on the other hand, must take error conditions into consideration. In fact, in real-world programs, anticipating and handling errors can be the largest part of the code!
In this final hour, you will learn
What exceptions are
How exceptions are used and what issues they raise
How to create bug-free code
Where to go from here