Touched up formatting of exception handling as requested.