illustrates a try, catch, and finally block