Catch more explicit exceptions before doing a catch all.