added an exception handling example to chapter 2