fixed up exception hanlding examples